Revert r188449 as it turns out we're just missing the instructions that need the...
[oota-llvm.git] / test / Transforms / ScalarRepl / memset-aggregate-byte-leader.ll
index f7f30173817330816781382dbde49454f4a07427..3510dfc24d9a15ff37d2aa294930f57110ae63d1 100644 (file)
@@ -1,11 +1,13 @@
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | not grep 'call void @llvm.memcpy.i32' &&
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | grep 'getelementptr'
 ; PR1226
+; RUN: opt < %s -scalarrepl -S | \
+; RUN:   not grep "call void @llvm.memcpy.i32"
+; RUN: opt < %s -scalarrepl -S | grep getelementptr
+; END.
+
 target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin8.8.0"
        %struct.foo = type { i8, i8 }
 
-implementation   ; Functions:
 
 define i32 @test1(%struct.foo* %P) {
 entry: