diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-05 16:08:58 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-05 16:08:58 +0000 |
commit | 0ffc47039645e05527ee769ee62058dde1479ce7 (patch) | |
tree | d68ac2b0826feaa6b50b6437837db9e0928269e0 /lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | 299a8141e3c6e4598ce4f4bcb8c45c68d5bbb1e9 (diff) |
Rename a variable to make MSVC happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r-- | lib/CodeGen/SimpleRegisterCoalescing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp index 08e0bcf85b..b57bbc2ca5 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -808,9 +808,9 @@ void SimpleRegisterCoalescing::RemoveUnnecessaryKills(unsigned Reg, continue; MachineInstr *UseMI = UseMO.getParent(); unsigned UseIdx = li_->getUseIndex(li_->getInstructionIndex(UseMI)); - const LiveRange *UI = LI.getLiveRangeContaining(UseIdx); - if (!UI || !LI.isKill(UI->valno, UseIdx+1)) { - if (UI->valno->def != UseIdx+1) { + const LiveRange *LR = LI.getLiveRangeContaining(UseIdx); + if (!LR || !LI.isKill(LR->valno, UseIdx+1)) { + if (LR->valno->def != UseIdx+1) { // 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) // |