fix rdar://9289583 - fast isel should handle non-canonical commutative binops
[oota-llvm.git] / test / Transforms / ScalarRepl / 2003-09-12-IncorrectPromote.ll
index ef48cf8d2138f4cf9d62ca8626d221d946bb6dc1..eb1c945e34eb8e53707ae5f030480d4f9e6efe6f 100644 (file)
@@ -1,7 +1,7 @@
 ; Scalar replacement was incorrectly promoting this alloca!!
 ;
-; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
-; RUN:   sed {s/;.*//g} | grep \[
+; RUN: opt < %s -scalarrepl -S | \
+; RUN:   sed {s/;.*//g} | grep {\\\[}
 
 define i8* @test() {
        %A = alloca [30 x i8]           ; <[30 x i8]*> [#uses=1]