disable this factoring optzn for GEPs for now, this severely pessimizes some

loops.

llvm-svn: 31560
This commit is contained in:
Chris Lattner 2006-11-08 18:49:31 +00:00
parent 7b6fb8048e
commit a3acfca920
1 changed files with 1 additions and 1 deletions

View File

@ -6878,7 +6878,7 @@ Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) {
!isSafeToSinkLoad(LI))
return 0;
} else if (isa<GetElementPtrInst>(FirstInst)) {
if (FirstInst->getNumOperands() == 2)
if (0 && FirstInst->getNumOperands() == 2)
return FoldPHIArgBinOpIntoPHI(PN);
// Can't handle general GEPs yet.
return 0;