mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 19:03:50 +00:00
Debug info shouldn't affect kills.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d98ec5fe5b
commit
4d12d3b70f
@ -572,6 +572,9 @@ static bool InvalidateRegDef(MachineBasicBlock::iterator I,
|
||||
static void UpdateKills(MachineInstr &MI, const TargetRegisterInfo* TRI,
|
||||
BitVector &RegKills,
|
||||
std::vector<MachineOperand*> &KillOps) {
|
||||
// These do not affect kill info at all.
|
||||
if (MI.isDebugValue())
|
||||
return;
|
||||
for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) {
|
||||
MachineOperand &MO = MI.getOperand(i);
|
||||
if (!MO.isReg() || !MO.isUse() || MO.isUndef())
|
||||
|
Loading…
x
Reference in New Issue
Block a user