projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6588b14
)
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)
llvm-svn: 225501
llvm/lib/CodeGen/RegisterCoalescer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/RegisterCoalescer.cpp
b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index
e5306f9
..
b5993bf
100644
(file)
--- a/
llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/
llvm/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