[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / ARM / 2007-05-23-BadPreIndexedStore.ll
index de32a26ae9cfb579661d1ea8cff416284e4f04c8..e0b28e874b9007e59cca827e16a53ac9c7a631ae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=arm | not grep {str.*\\!}
+; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
 
        %struct.shape_edge_t = type { %struct.shape_edge_t*, %struct.shape_edge_t*, i32, i32, i32, i32 }
        %struct.shape_path_t = type { %struct.shape_edge_t*, %struct.shape_edge_t*, i32, i32, i32, i32, i32, i32 }
@@ -17,10 +17,10 @@ cond_false:         ; preds = %entry
 bb140:         ; preds = %bb140, %cond_false
        %indvar = phi i32 [ 0, %cond_false ], [ %indvar.next, %bb140 ]          ; <i32> [#uses=2]
        %edge.230.0.rec = shl i32 %indvar, 1            ; <i32> [#uses=3]
-       %edge.230.0 = getelementptr %struct.shape_edge_t* null, i32 %edge.230.0.rec             ; <%struct.shape_edge_t*> [#uses=1]
+       %edge.230.0 = getelementptr %struct.shape_edge_t, %struct.shape_edge_t* null, i32 %edge.230.0.rec               ; <%struct.shape_edge_t*> [#uses=1]
        %edge.230.0.sum6970 = or i32 %edge.230.0.rec, 1         ; <i32> [#uses=2]
-       %tmp154 = getelementptr %struct.shape_edge_t* null, i32 %edge.230.0.sum6970             ; <%struct.shape_edge_t*> [#uses=1]
-       %tmp11.i5 = getelementptr %struct.shape_edge_t* null, i32 %edge.230.0.sum6970, i32 0            ; <%struct.shape_edge_t**> [#uses=1]
+       %tmp154 = getelementptr %struct.shape_edge_t, %struct.shape_edge_t* null, i32 %edge.230.0.sum6970               ; <%struct.shape_edge_t*> [#uses=1]
+       %tmp11.i5 = getelementptr %struct.shape_edge_t, %struct.shape_edge_t* null, i32 %edge.230.0.sum6970, i32 0              ; <%struct.shape_edge_t**> [#uses=1]
        store %struct.shape_edge_t* %edge.230.0, %struct.shape_edge_t** %tmp11.i5
        store %struct.shape_edge_t* %tmp154, %struct.shape_edge_t** null
        %tmp16254.0.rec = add i32 %edge.230.0.rec, 2            ; <i32> [#uses=1]
@@ -32,3 +32,6 @@ bb140:                ; preds = %bb140, %cond_false
 bb174:         ; preds = %bb140, %cond_false
        ret %struct.shape_path_t* null
 }
+
+; CHECK-NOT: str{{.*}}!
+