summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/arm-negative-stride.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/arm-negative-stride.ll')
-rw-r--r--test/CodeGen/ARM/arm-negative-stride.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/arm-negative-stride.ll b/test/CodeGen/ARM/arm-negative-stride.ll
index c4b4ec6..72ec8ef 100644
--- a/test/CodeGen/ARM/arm-negative-stride.ll
+++ b/test/CodeGen/ARM/arm-negative-stride.ll
@@ -1,7 +1,8 @@
-; RUN: llc < %s -march=arm | grep {str r1, \\\[r.*, -r.*, lsl #2\}
+; RUN: llc < %s -march=arm | FileCheck %s
define void @test(i32* %P, i32 %A, i32 %i) nounwind {
entry:
+; CHECK: str r1, [{{r.*}}, -{{r.*}}, lsl #2]
icmp eq i32 %i, 0 ; <i1>:0 [#uses=1]
br i1 %0, label %return, label %bb
OpenPOWER on IntegriCloud