Fix inserting new elements in a specified location.
[oota-llvm.git] / test / Transforms / ScalarRepl / select_promote.ll
index 901fa90dc96d522f192fed59b1d8ba0f2cf844f6..d6b2b75327c50a336d1de87eb1a6c65603d12a7b 100644 (file)
@@ -1,7 +1,7 @@
 ; Test promotion of loads that use the result of a select instruction.  This
 ; should be simplified by the instcombine pass.
 
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | not grep alloca
+; RUN: opt < %s -instcombine -mem2reg -S | not grep alloca
 
 define i32 @main() {
        %mem_tmp.0 = alloca i32         ; <i32*> [#uses=3]