1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen/Mips/null.ll
Reed Kotler de0ea1027e 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.

llvm-svn: 166990
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
}