- Support inline asm 'w' constraint for 128-bit vector types.
[oota-llvm.git] / test / CodeGen / ARM / arm-negative-stride.ll
index 1048fb7ad62c1f07b5d312088704972b859f1289..72ec8efcc4459e871fdc55d1019fdbd5b59ad3d4 100644 (file)
@@ -1,7 +1,8 @@
-; RUN: llvm-as < %s | llc -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) {
+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