mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 10:42:36 +00:00
Minor correction to r130877; fixes PR9846 and hopefully the buildbot failures.
llvm-svn: 130925
This commit is contained in:
parent
8785489968
commit
9d2cd1cac4
@ -468,7 +468,8 @@ bool MachineCSE::ProcessBlock(MachineBasicBlock *MBB) {
|
||||
SmallVector<unsigned,8>::iterator PI = DirectPhysRefs.begin(),
|
||||
PE = DirectPhysRefs.end();
|
||||
for (; PI != PE; ++PI)
|
||||
MBB->addLiveIn(*PI);
|
||||
if (!MBB->isLiveIn(*PI))
|
||||
MBB->addLiveIn(*PI);
|
||||
}
|
||||
++NumCSEs;
|
||||
if (!PhysRefs.empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user