fix rdar://9289583 - fast isel should handle non-canonical commutative binops
[oota-llvm.git] / test / Transforms / ScalarRepl / memset-aggregate-byte-leader.ll
index 932e7130a6da1b5c8ef5459fe0a2600c1b269594..0d61e5aab6c7776017ba7daf6df99f65c75a5e39 100644 (file)
@@ -1,6 +1,9 @@
-; 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 }