Remove the getAttributesAtIndex and getNumAttrs methods in favor of using the getAttr...
[oota-llvm.git] / test / Transforms / Reassociate / 2002-05-15-SubReassociate2.ll
index 070080acf24fdb8bc1a5b0a3d3a53b3768e4b3c9..5848821e10fdcfbf4621d95188374099da9df29f 100644 (file)
@@ -1,6 +1,6 @@
 ; With sub reassociation, constant folding can eliminate the two 12 constants.
 ;
-; RUN: llvm-as < %s | opt -reassociate -constprop -dce | llvm-dis | not grep 12
+; RUN: opt < %s -reassociate -constprop -dce -S | not grep 12
 
 define i32 @test(i32 %A, i32 %B, i32 %C, i32 %D) {
        %M = add i32 %A, 12             ; <i32> [#uses=1]