diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-28 23:23:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-28 23:23:34 +0000 |
commit | 50e8682f282f1ae04ce18cb84b638d126f499faf (patch) | |
tree | a4a90ec6cef9abbcbf77538cd77712a28c9cf7ff /test/Transforms/ADCE | |
parent | 69686725d7dca5c4caf196c1904bcac85129e6b6 (diff) | |
download | llvm-50e8682f282f1ae04ce18cb84b638d126f499faf.tar.gz llvm-50e8682f282f1ae04ce18cb84b638d126f499faf.tar.bz2 llvm-50e8682f282f1ae04ce18cb84b638d126f499faf.tar.xz |
Remove explicit control flow through the use of the 'not' script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ADCE')
-rw-r--r-- | test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll | 5 | ||||
-rw-r--r-- | test/Transforms/ADCE/adcetest.ll | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll b/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll index 453723b125..7e4bf08090 100644 --- a/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll +++ b/test/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/test/Transforms/ADCE/adcetest.ll b/test/Transforms/ADCE/adcetest.ll index 4a06cd9f39..2e9cd6c6c3 100644 --- a/test/Transforms/ADCE/adcetest.ll +++ b/test/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: |