-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | grep {%A = alloca}
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | \
-; RUN: not grep {%B = alloca}
+; RUN: opt < %s -instcombine -mem2reg -S | grep "%A = alloca"
+; RUN: opt < %s -instcombine -mem2reg -S | \
+; RUN: not grep "%B = alloca"
; END.
; Ensure that instcombine doesn't sink the loads in entry/cond_true into