Remove the getAttributesAtIndex and getNumAttrs methods in favor of using the getAttr...
[oota-llvm.git] / test / Transforms / Reassociate / shifttest.ll
index fd49e7d3f22320965a863d004a1464a65e61fee1..d9a5336fbfb493704424c1a73a1e8578fed2e20e 100644 (file)
@@ -1,7 +1,7 @@
 ; With shl->mul reassociation, we can see that this is (shl A, 9) * A
 ;
-; RUN: llvm-as < %s | opt -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]