aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/LoadVN
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/Analysis/LoadVN
parent69686725d7dca5c4caf196c1904bcac85129e6b6 (diff)
downloadexternal_llvm-50e8682f282f1ae04ce18cb84b638d126f499faf.zip
external_llvm-50e8682f282f1ae04ce18cb84b638d126f499faf.tar.gz
external_llvm-50e8682f282f1ae04ce18cb84b638d126f499faf.tar.bz2
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/Analysis/LoadVN')
-rw-r--r--test/Analysis/LoadVN/RLE-Eliminate.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Analysis/LoadVN/RLE-Eliminate.ll b/test/Analysis/LoadVN/RLE-Eliminate.ll
index 3abfc19..fb79cfa 100644
--- a/test/Analysis/LoadVN/RLE-Eliminate.ll
+++ b/test/Analysis/LoadVN/RLE-Eliminate.ll
@@ -1,10 +1,7 @@
; This testcase ensures that redundant loads are eliminated when they should
; be. All RL variables (redundant loads) should be eliminated.
;
-; RUN: if as < %s | opt -load-vn -gcse | dis | grep %RL
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -load-vn -gcse | dis | not grep %RL
;
int "test1"(int* %P) {
%A = load int* %P