llvm-6502/test/CodeGen/ARM/thumb-imm.ll

12 lines
201 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=arm -enable-thumb &&
; RUN: llvm-as < %s | llc -march=arm -enable-thumb | not grep CPI
define i32 @test1() {
ret i32 1000
}
define i32 @test2() {
ret i32 -256
}