Simplify and generalize the SROA "convert to scalar" transformation to
[oota-llvm.git] / test / Transforms / ScalarRepl / badarray.ll
index 1e4714eae9882d70b0a4bf496cb28275790edf7d..56ae04ce9174d2eabd0ec1f20cfe80bc119671bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalarrepl -mem2reg | llvm-dis | grep alloca
+; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | grep {ret i32 0}
 
 define i32 @test() {
        %X = alloca [4 x i32]           ; <[4 x i32]*> [#uses=1]