mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
RegisterCoalescer: No need to set kill flags, they are recompute later anyway
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -694,8 +694,6 @@ bool RegisterCoalescer::removeCopyByCommutingDef(const CoalescerPair &CP,
|
|||||||
MBB->insert(Pos, NewMI);
|
MBB->insert(Pos, NewMI);
|
||||||
MBB->erase(DefMI);
|
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.
|
// If ALR and BLR overlaps and end of BLR extends beyond end of ALR, e.g.
|
||||||
// A = or A, B
|
// A = or A, B
|
||||||
|
Reference in New Issue
Block a user