projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9c33c3
)
Revert r53367, which was breaking things.
author
Owen Anderson
<resistor@mac.com>
Wed, 9 Jul 2008 23:09:10 +0000
(23:09 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 9 Jul 2008 23:09:10 +0000
(23:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53378
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLocal.cpp
b/lib/CodeGen/RegAllocLocal.cpp
index 7f65f1b29eee4caa2dabee40c157bd190a3abe17..3e1038daa9c9487af7f88c19e6270408db5d69bc 100644
(file)
--- 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 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;
}
LastUseDef[MO.getReg()] = std::make_pair(I, i);
continue;
}