mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
Minor correction to r130877; fixes PR9846 and hopefully the buildbot failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f262e16161
commit
5f6bf5d441
@ -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…
Reference in New Issue
Block a user