diff options
| author | Owen Anderson <resistor@mac.com> | 2008-07-09 21:34:36 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2008-07-09 21:34:36 +0000 |
| commit | d3736ca1e07c6bc77e9df8e629706e936e218a01 (patch) | |
| tree | 0c2ef5b099c1ea4b629303bb9931b6309713704a /llvm/lib/CodeGen | |
| parent | ca43dce1e873db4d7f42b85fd453d09ea28463c5 (diff) | |
| download | bcm5719-llvm-d3736ca1e07c6bc77e9df8e629706e936e218a01.tar.gz bcm5719-llvm-d3736ca1e07c6bc77e9df8e629706e936e218a01.zip | |
Loosen our check here. Local regalloc only cares that the reg is used and def'd by the same instruction, but about the details of
the relationship.
llvm-svn: 53367
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocLocal.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp index 3e1038daa9c..7f65f1b29ee 100644 --- a/llvm/lib/CodeGen/RegAllocLocal.cpp +++ b/llvm/lib/CodeGen/RegAllocLocal.cpp @@ -592,9 +592,7 @@ 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 && - I->getDesc().getOperandConstraint(last->second.second, - TOI::TIED_TO) == (signed)i) { + if (last->second.first == I) { LastUseDef[MO.getReg()] = std::make_pair(I, i); continue; } |

