summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/Reassociate/subtest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/Reassociate/subtest.ll')
-rw-r--r--llvm/test/Regression/Transforms/Reassociate/subtest.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/Regression/Transforms/Reassociate/subtest.ll b/llvm/test/Regression/Transforms/Reassociate/subtest.ll
index e3a7adf5aed..38a887b5662 100644
--- a/llvm/test/Regression/Transforms/Reassociate/subtest.ll
+++ b/llvm/test/Regression/Transforms/Reassociate/subtest.ll
@@ -1,9 +1,6 @@
; With sub reassociation, constant folding can eliminate the 12 and -12 constants.
;
-; RUN: if as < %s | opt -reassociate -constprop -instcombine -die | dis | grep 12
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -reassociate -constprop -instcombine -die | dis | not grep 12
int "test"(int %A, int %B) {
%X = add int -12, %A
OpenPOWER on IntegriCloud