mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +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:
@@ -468,6 +468,7 @@ bool MachineCSE::ProcessBlock(MachineBasicBlock *MBB) {
|
|||||||
SmallVector<unsigned,8>::iterator PI = DirectPhysRefs.begin(),
|
SmallVector<unsigned,8>::iterator PI = DirectPhysRefs.begin(),
|
||||||
PE = DirectPhysRefs.end();
|
PE = DirectPhysRefs.end();
|
||||||
for (; PI != PE; ++PI)
|
for (; PI != PE; ++PI)
|
||||||
|
if (!MBB->isLiveIn(*PI))
|
||||||
MBB->addLiveIn(*PI);
|
MBB->addLiveIn(*PI);
|
||||||
}
|
}
|
||||||
++NumCSEs;
|
++NumCSEs;
|
||||||
|
Reference in New Issue
Block a user