aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/lsr-scale-addr-mode.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/lsr-scale-addr-mode.ll')
-rw-r--r--test/CodeGen/ARM/lsr-scale-addr-mode.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/lsr-scale-addr-mode.ll b/test/CodeGen/ARM/lsr-scale-addr-mode.ll
index 0c8d387..9480241 100644
--- a/test/CodeGen/ARM/lsr-scale-addr-mode.ll
+++ b/test/CodeGen/ARM/lsr-scale-addr-mode.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=arm | grep lsl | grep -F "lsl #2]"
+; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
; Should use scaled addressing mode.
define void @sintzero(i32* %a) nounwind {
@@ -17,3 +17,6 @@ cond_next: ; preds = %cond_next, %entry
return: ; preds = %cond_next
ret void
}
+
+; CHECK: lsl{{.*}}#2]
+