Merging r259798, r259835:
[oota-llvm.git] / test / Transforms / Reassociate / shifttest.ll
index 42b1873eedbb96a862934b0206600488579b970f..d9a5336fbfb493704424c1a73a1e8578fed2e20e 100644 (file)
@@ -1,7 +1,7 @@
 ; With shl->mul reassociation, we can see that this is (shl A, 9) * A
 ;
-; RUN: opt %s -reassociate -instcombine | llvm-dis |\
-; RUN:    grep {shl .*, 9}
+; RUN: opt < %s -reassociate -instcombine -S |\
+; RUN:    grep "shl .*, 9"
 
 define i32 @test(i32 %A, i32 %B) {
        %X = shl i32 %A, 5              ; <i32> [#uses=1]