mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 00:17:32 +00:00
disable this factoring optzn for GEPs for now, this severely pessimizes some
loops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12cd0012bd
commit
f0cd7085c1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user