new testcase
[oota-llvm.git] / test / Transforms / Reassociate / basictest2.ll
index 192b8d3d086c3a6b508a8be9dbb8db040723d610..c7a3687642c2313d08968fa7cb470e18a8a47944 100644 (file)
@@ -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           ; <int> [#uses=1]