forked from OSchip/llvm-project
LivePhysRegs: Add default for removeRegsInMask(Clobbers); NFC
llvm-svn: 304036
This commit is contained in:
parent
d8f4e99933
commit
61cf1a9e85
|
@ -95,7 +95,8 @@ public:
|
|||
|
||||
/// \brief Removes physical registers clobbered by the regmask operand @p MO.
|
||||
void removeRegsInMask(const MachineOperand &MO,
|
||||
SmallVectorImpl<std::pair<unsigned, const MachineOperand*>> *Clobbers);
|
||||
SmallVectorImpl<std::pair<unsigned, const MachineOperand*>> *Clobbers =
|
||||
nullptr);
|
||||
|
||||
/// \brief Returns true if register @p Reg is contained in the set. This also
|
||||
/// works if only the super register of @p Reg has been defined, because
|
||||
|
|
|
@ -53,7 +53,7 @@ void LivePhysRegs::stepBackward(const MachineInstr &MI) {
|
|||
continue;
|
||||
removeReg(Reg);
|
||||
} else if (O->isRegMask())
|
||||
removeRegsInMask(*O, nullptr);
|
||||
removeRegsInMask(*O);
|
||||
}
|
||||
|
||||
// Add uses to the set.
|
||||
|
|
Loading…
Reference in New Issue