X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FReassociate%2Fbasictest2.ll;h=c7a3687642c2313d08968fa7cb470e18a8a47944;hb=22d06312a903be84ff9ec6ad64500e5ed24a0c94;hp=192b8d3d086c3a6b508a8be9dbb8db040723d610;hpb=557a143b8276ef8e07f2e873d7a2988106474e9a;p=oota-llvm.git diff --git a/test/Transforms/Reassociate/basictest2.ll b/test/Transforms/Reassociate/basictest2.ll index 192b8d3d086..c7a3687642c 100644 --- a/test/Transforms/Reassociate/basictest2.ll +++ b/test/Transforms/Reassociate/basictest2.ll @@ -1,9 +1,6 @@ ; With reassociation, constant folding can eliminate the +/- 30 constants. ; -; RUN: if as < %s | opt -reassociate -constprop -instcombine -die | dis | grep 30 -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: llvm-as < %s | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 30 int "test"(int %reg109, int %reg1111) { %reg115 = add int %reg109, -30 ; [#uses=1]