summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb/thumb-imm.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb/thumb-imm.ll')
-rw-r--r--test/CodeGen/Thumb/thumb-imm.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb/thumb-imm.ll b/test/CodeGen/Thumb/thumb-imm.ll
index 74a57ff..592e694 100644
--- a/test/CodeGen/Thumb/thumb-imm.ll
+++ b/test/CodeGen/Thumb/thumb-imm.ll
@@ -1,5 +1,4 @@
-; RUN: llc < %s -march=thumb | not grep CPI
-
+; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
define i32 @test1() {
ret i32 1000
@@ -8,3 +7,6 @@ define i32 @test1() {
define i32 @test2() {
ret i32 -256
}
+
+; CHECK-NOT: CPI
+