Fix test/Transforms/GVN/pre-load.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-12-05 17:04:12 +00:00
parent 72eeb94fe1
commit 7f7c736682
2 changed files with 2 additions and 2 deletions

View File

@ -1135,7 +1135,7 @@ bool GVN::processNonLocalLoad(LoadInst *LI,
// Okay, we can eliminate this load by inserting a reload in the predecessor
// and using PHI construction to get the value in the other predecessors, do
// it.
/*DEBUG*/(cerr << "GVN REMOVING PRE LOAD: " << *LI);
DEBUG(cerr << "GVN REMOVING PRE LOAD: " << *LI);
Value *NewLoad = new LoadInst(LoadPtr, LI->getName()+".pre", false,
LI->getAlignment(),

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -gvn -enable-load-pre | llvm-dis | grep {%PRE.rle = phi}
; RUN: llvm-as < %s | opt -gvn -enable-load-pre | llvm-dis | grep {%PRE = phi}
define i32 @test(i32* %p, i1 %C) {
block1: