mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
Fix likely typo, reduce number of instruction name collisions.
llvm-svn: 134235
This commit is contained in:
parent
018ca8fea8
commit
465651fe6e
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user