From: Chris Lattner Date: Thu, 10 Dec 2009 00:04:46 +0000 (+0000) Subject: allow this to build when the #if 0's are enabled. No functionality change. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=b6760b4a1eb661b517a3fe74c4d54714ef208010 allow this to build when the #if 0's are enabled. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90999 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index 783da6a5635..e4e3488a602 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -1023,8 +1023,7 @@ static int AnalyzeLoadFromClobberingWrite(const Type *LoadTy, Value *LoadPtr, << "Base = " << *StoreBase << "\n" << "Store Ptr = " << *WritePtr << "\n" << "Store Offs = " << StoreOffset << "\n" - << "Load Ptr = " << *LoadPtr << "\n" - << "Load Offs = " << LoadOffset << " - " << *L << "\n\n"; + << "Load Ptr = " << *LoadPtr << "\n"; abort(); #endif return -1; @@ -1055,10 +1054,7 @@ static int AnalyzeLoadFromClobberingWrite(const Type *LoadTy, Value *LoadPtr, << "Base = " << *StoreBase << "\n" << "Store Ptr = " << *WritePtr << "\n" << "Store Offs = " << StoreOffset << "\n" - << "Load Ptr = " << *L->getPointerOperand() << "\n" - << "Load Offs = " << LoadOffset << " - " << *L << "\n\n"; - errs() << "'" << L->getParent()->getParent()->getName() << "'" - << *L->getParent(); + << "Load Ptr = " << *LoadPtr << "\n"; abort(); #endif return -1;