summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/Reassociate/basictest2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/Reassociate/basictest2.ll')
-rw-r--r--llvm/test/Regression/Transforms/Reassociate/basictest2.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/Regression/Transforms/Reassociate/basictest2.ll b/llvm/test/Regression/Transforms/Reassociate/basictest2.ll
index 192b8d3d086..31c3be0a878 100644
--- a/llvm/test/Regression/Transforms/Reassociate/basictest2.ll
+++ b/llvm/test/Regression/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: as < %s | opt -reassociate -constprop -instcombine -die | dis | not grep 30
int "test"(int %reg109, int %reg1111) {
%reg115 = add int %reg109, -30 ; <int> [#uses=1]
OpenPOWER on IntegriCloud