diff options
author | Owen Anderson <resistor@mac.com> | 2008-07-09 23:09:10 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-07-09 23:09:10 +0000 |
commit | 4560c26a3aff6f500efa414d3007abadf728946a (patch) | |
tree | f83616f05f86c44b48dab2263f20e36c0e718c8f /lib/CodeGen/RegAllocLocal.cpp | |
parent | de5b8cc1b2d1cc030a388c8092e6eff11e63e04e (diff) | |
download | external_llvm-4560c26a3aff6f500efa414d3007abadf728946a.zip external_llvm-4560c26a3aff6f500efa414d3007abadf728946a.tar.gz external_llvm-4560c26a3aff6f500efa414d3007abadf728946a.tar.bz2 |
Revert r53367, which was breaking things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocLocal.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 7f65f1b..3e1038d 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -592,7 +592,9 @@ void RALocal::ComputeLocalLiveness(MachineBasicBlock& MBB) { // If this is a two address instr, then we don't mark the def // as killing the use. - if (last->second.first == I) { + if (last->second.first == I && + I->getDesc().getOperandConstraint(last->second.second, + TOI::TIED_TO) == (signed)i) { LastUseDef[MO.getReg()] = std::make_pair(I, i); continue; } |