mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-07 11:47:00 +00:00
Rename a variable to make MSVC happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
299a8141e3
commit
0ffc470396
@ -808,9 +808,9 @@ void SimpleRegisterCoalescing::RemoveUnnecessaryKills(unsigned Reg,
|
|||||||
continue;
|
continue;
|
||||||
MachineInstr *UseMI = UseMO.getParent();
|
MachineInstr *UseMI = UseMO.getParent();
|
||||||
unsigned UseIdx = li_->getUseIndex(li_->getInstructionIndex(UseMI));
|
unsigned UseIdx = li_->getUseIndex(li_->getInstructionIndex(UseMI));
|
||||||
const LiveRange *UI = LI.getLiveRangeContaining(UseIdx);
|
const LiveRange *LR = LI.getLiveRangeContaining(UseIdx);
|
||||||
if (!UI || !LI.isKill(UI->valno, UseIdx+1)) {
|
if (!LR || !LI.isKill(LR->valno, UseIdx+1)) {
|
||||||
if (UI->valno->def != UseIdx+1) {
|
if (LR->valno->def != UseIdx+1) {
|
||||||
// Interesting problem. After coalescing reg1027's def and kill are both
|
// Interesting problem. After coalescing reg1027's def and kill are both
|
||||||
// at the same point: %reg1027,0.000000e+00 = [56,814:0) 0@70-(814)
|
// at the same point: %reg1027,0.000000e+00 = [56,814:0) 0@70-(814)
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user