1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-svn: 125787
This commit is contained in:
Chris Lattner 2011-02-17 22:32:54 +00:00
parent 5b5316fae9
commit fd397180f3

View File

@ -209,7 +209,7 @@ Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
GetElementPtrInst *NewGEP =
GetElementPtrInst::Create(Base, FixedOperands.begin()+1,
FixedOperands.end());
if (AllInBounds) NewGEP->setIsInbounds();
if (AllInBounds) NewGEP->setIsInBounds();
return NewGEP;
}