Make sure to run these tests with load value #'ing
authorChris Lattner <sabre@nondot.org>
Fri, 30 Aug 2002 20:18:09 +0000 (20:18 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 30 Aug 2002 20:18:09 +0000 (20:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3530 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/LoadVN/RLE-Eliminate.ll
test/Analysis/LoadVN/RLE-Preserve.ll

index a8b1bf9f45dff7dab5dfaf4e256f6b13eb443cb8..3abfc19b8534033dbd700edb4c5f047585e339fe 100644 (file)
@@ -1,7 +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 -gcse | dis | grep %RL
+; RUN: if as < %s | opt -load-vn -gcse | dis | grep %RL
 ; RUN: then exit 1
 ; RUN: else exit 0
 ; RUN: fi
index 50a3256d1979aa307088427b7042e1292cf5d79d..d3414880cd23f04ab3137d6c6a0845cec6cf77b7 100644 (file)
@@ -1,7 +1,8 @@
 ; This testcase ensures that redundant loads are preserved when they are not 
 ; allowed to be eliminated.
 ; RUN: as < %s | dis > Output/%s.before
-; RUN: as < %s | opt -gcse | dis > Output/%s.after
+; RUN: as < %s | opt -load-vn -gcse | dis > Output/%s.after
+; RUN: echo some output
 ; RUN: diff Output/%s.before Output/%s.after
 ;
 int "test1"(int* %P) {