mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126805 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b77e0f07d
commit
a4d347357c
@ -847,7 +847,7 @@ void LiveIntervals::shrinkToUses(LiveInterval *li) {
|
||||
assert(LII != NewLI.end() && "Missing live range for PHI");
|
||||
if (LII->end != VNI->def.getNextSlot())
|
||||
continue;
|
||||
if (!VNI->isPHIDef()) {
|
||||
if (VNI->isPHIDef()) {
|
||||
// This is a dead PHI. Remove it.
|
||||
VNI->setIsUnused(true);
|
||||
NewLI.removeRange(*LII);
|
||||
|
Loading…
x
Reference in New Issue
Block a user