Fix bug in testcase now that load-vn is not built into gcse


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3614 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/BasicAA/gcsetest.ll b/test/Analysis/BasicAA/gcsetest.ll
index a49f313..6755663 100644
--- a/test/Analysis/BasicAA/gcsetest.ll
+++ b/test/Analysis/BasicAA/gcsetest.ll
@@ -2,7 +2,7 @@
 ; disambiguating some obvious cases.  All loads should be removable in 
 ; this testcase.
 
-; RUN: if as < %s | opt -basicaa -gcse -instcombine -dce | dis | grep load
+; RUN: if as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | grep load
 ; RUN: then exit 1
 ; RUN: else exit 0
 ; RUN: fi
diff --git a/test/Transforms/BasicAA/gcsetest.ll b/test/Transforms/BasicAA/gcsetest.ll
index a49f313..6755663 100644
--- a/test/Transforms/BasicAA/gcsetest.ll
+++ b/test/Transforms/BasicAA/gcsetest.ll
@@ -2,7 +2,7 @@
 ; disambiguating some obvious cases.  All loads should be removable in 
 ; this testcase.
 
-; RUN: if as < %s | opt -basicaa -gcse -instcombine -dce | dis | grep load
+; RUN: if as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | grep load
 ; RUN: then exit 1
 ; RUN: else exit 0
 ; RUN: fi