mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Debug info shouldn't affect kills.
llvm-svn: 99637
This commit is contained in:
parent
341502ebd8
commit
5c20ece13a
@ -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…
Reference in New Issue
Block a user