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 | be2e9a44474cd8bac36b06c0822308048c37a612 (patch) | |
| tree | 257f80fe849055155fb5734d8bceb0cc12e1f8d3 /llvm/lib/CodeGen | |
| parent | 7d94c49db9a5975925253cb97129064fdeeaaec7 (diff) | |
| download | bcm5719-llvm-be2e9a44474cd8bac36b06c0822308048c37a612.tar.gz bcm5719-llvm-be2e9a44474cd8bac36b06c0822308048c37a612.zip | |
Revert r53367, which was breaking things.
llvm-svn: 53378
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocLocal.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp index 7f65f1b29ee..3e1038daa9c 100644 --- a/llvm/lib/CodeGen/RegAllocLocal.cpp +++ b/llvm/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; } |

