summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/ADCE
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/ADCE')
-rw-r--r--llvm/test/Regression/Transforms/ADCE/2003-06-24-BasicFunctionality.ll5
-rw-r--r--llvm/test/Regression/Transforms/ADCE/adcetest.ll5
2 files changed, 2 insertions, 8 deletions
diff --git a/llvm/test/Regression/Transforms/ADCE/2003-06-24-BasicFunctionality.ll b/llvm/test/Regression/Transforms/ADCE/2003-06-24-BasicFunctionality.ll
index 453723b1258..7e4bf080907 100644
--- a/llvm/test/Regression/Transforms/ADCE/2003-06-24-BasicFunctionality.ll
+++ b/llvm/test/Regression/Transforms/ADCE/2003-06-24-BasicFunctionality.ll
@@ -1,7 +1,4 @@
-; RUN: if as < %s | opt -adce -simplifycfg | dis | grep then:
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -adce -simplifycfg | dis | not grep then:
void %dead_test8(int* %data.1, int %idx.1) {
entry: ; No predecessors!
diff --git a/llvm/test/Regression/Transforms/ADCE/adcetest.ll b/llvm/test/Regression/Transforms/ADCE/adcetest.ll
index 4a06cd9f396..2e9cd6c6c38 100644
--- a/llvm/test/Regression/Transforms/ADCE/adcetest.ll
+++ b/llvm/test/Regression/Transforms/ADCE/adcetest.ll
@@ -1,10 +1,7 @@
; This is the test case taken from Appel's book that illustrates a hard case
; that SCCP gets right, and when followed by ADCE, is completely eliminated
;
-; RUN: if as < %s | opt -sccp -adce -simplifycfg | dis | grep br
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -sccp -adce -simplifycfg | dis | not grep br
int "test function"(int %i0, int %j0) {
BB1:
OpenPOWER on IntegriCloud