1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-30 02:32:08 +00:00
llvm-6502/test/CodeGen/Mips/null.ll
Reed Kotler c09856b535 Change mips16 delay slot jumps to non delay slot forms by default.
We will make them delay slot forms if there is something that can be
placed in the delay slot during a separate pass. Mips16 extended instructions
cannot be placed in delay slots.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166990 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-30 00:54:49 +00:00

14 lines
191 B
LLVM

; RUN: llc -march=mipsel -mcpu=mips16 < %s | FileCheck %s -check-prefix=16
define i32 @main() nounwind {
entry:
ret i32 0
; 16: .set mips16 # @main
; 16: jrc $ra
}