summaryrefslogtreecommitdiff
path: root/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-28 23:23:34 +0000
committerChris Lattner <sabre@nondot.org>2003-06-28 23:23:34 +0000
commit50e8682f282f1ae04ce18cb84b638d126f499faf (patch)
treea4a90ec6cef9abbcbf77538cd77712a28c9cf7ff /test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
parent69686725d7dca5c4caf196c1904bcac85129e6b6 (diff)
downloadllvm-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/Reassociate/2002-05-15-SubReassociate2.ll')
-rw-r--r--test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll b/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
index aa0066a1ff..05f9bd4ae6 100644
--- a/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
+++ b/test/Transforms/Reassociate/2002-05-15-SubReassociate2.ll
@@ -1,9 +1,6 @@
; With sub reassociation, constant folding can eliminate the two 12 constants.
;
-; RUN: if as < %s | opt -reassociate -constprop -dce | dis | grep 12
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -reassociate -constprop -dce | dis | not grep 12
int "test"(int %A, int %B, int %C, int %D) {
%M = add int %A, 12