diff options
Diffstat (limited to 'test/CodeGen/ARM/thumb-imm.ll')
-rw-r--r-- | test/CodeGen/ARM/thumb-imm.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/thumb-imm.ll b/test/CodeGen/ARM/thumb-imm.ll new file mode 100644 index 000000000000..2be393a95cac --- /dev/null +++ b/test/CodeGen/ARM/thumb-imm.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llc -march=thumb | not grep CPI + + +define i32 @test1() { + ret i32 1000 +} + +define i32 @test2() { + ret i32 -256 +} |