llvm/test/CodeGen/Mips/null.ll
Akira Hatanaka c784395a79 Turn on mips16 pseudo op when compiling for mips16.
Expand test case for this.

Patch by Reed Kotler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157410 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24 18:37:43 +00:00

14 lines
212 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: .set nomicromips
; 16: jr $ra
}