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:
c25a150
)
RegisterCoalescer: No need to set kill flags, they are recompute later anyway
author
Matthias Braun
<matze@braunis.de>
Fri, 9 Jan 2015 03:01:26 +0000
(
03:01
+0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 9 Jan 2015 03:01:26 +0000
(
03:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225501
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegisterCoalescer.cpp
b/lib/CodeGen/RegisterCoalescer.cpp
index e5306f9da4849044f76617ed8e6ede08d043cd72..b5993bfb4016340409babe8d3678867519b5bc7c 100644
(file)
--- a/
lib/CodeGen/RegisterCoalescer.cpp
+++ b/
lib/CodeGen/RegisterCoalescer.cpp
@@
-694,8
+694,6
@@
bool RegisterCoalescer::removeCopyByCommutingDef(const CoalescerPair &CP,
MBB->insert(Pos, NewMI);
MBB->erase(DefMI);
}
- unsigned OpIdx = NewMI->findRegisterUseOperandIdx(IntA.reg, false);
- NewMI->getOperand(OpIdx).setIsKill();
// If ALR and BLR overlaps and end of BLR extends beyond end of ALR, e.g.
// A = or A, B