Fix likely typo, reduce number of instruction name collisions.

llvm-svn: 134235
This commit is contained in:
Nick Lewycky 2011-07-01 06:27:03 +00:00
parent 018ca8fea8
commit 465651fe6e

View File

@ -1303,7 +1303,7 @@ static bool tryToMakeAllocaBePromotable(AllocaInst *AI, const TargetData *TD) {
LoadInst *TrueLoad =
Builder.CreateLoad(SI->getTrueValue(), LI->getName()+".t");
LoadInst *FalseLoad =
Builder.CreateLoad(SI->getFalseValue(), LI->getName()+".t");
Builder.CreateLoad(SI->getFalseValue(), LI->getName()+".f");
// Transfer alignment and TBAA info if present.
TrueLoad->setAlignment(LI->getAlignment());