mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Revert "Refactor UpdatePredRedefs and StepForward to avoid duplication. NFC"
This reverts commit 963cdbccf6e5578822836fd9b2ebece0ba9a60b7 (ie r236514) This is to get the bots green while i investigate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236518 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -93,8 +93,7 @@ public:
|
||||
}
|
||||
|
||||
/// \brief Removes physical registers clobbered by the regmask operand @p MO.
|
||||
void removeRegsInMask(const MachineOperand &MO,
|
||||
SmallVectorImpl<std::pair<unsigned, const MachineOperand*>> *Clobbers);
|
||||
void removeRegsInMask(const MachineOperand &MO);
|
||||
|
||||
/// \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 we
|
||||
@ -110,11 +109,7 @@ public:
|
||||
/// instruction(bundle): Remove killed-uses, add defs. This is the not
|
||||
/// recommended way, because it depends on accurate kill flags. If possible
|
||||
/// use stepBackwards() instead of this function.
|
||||
/// The clobbers set will be the list of registers either defined or clobbered
|
||||
/// by a regmask. The operand will identify whether this is a regmask or
|
||||
/// register operand.
|
||||
void stepForward(const MachineInstr &MI,
|
||||
SmallVectorImpl<std::pair<unsigned, const MachineOperand*>> &Clobbers);
|
||||
void stepForward(const MachineInstr &MI);
|
||||
|
||||
/// \brief Adds all live-in registers of basic block @p MBB.
|
||||
void addLiveIns(const MachineBasicBlock *MBB) {
|
||||
|
Reference in New Issue
Block a user