@@ -78,21 +78,19 @@ class FixupBWInstPass : public MachineFunctionPass {
7878 return " X86 Byte/Word Instruction Fixup" ;
7979 }
8080
81- // / \brief Loop over all of the instructions in the basic block
82- // / replacing applicable byte or word instructions with better
83- // / alternatives.
81+ // / Loop over all of the instructions in the basic block replacing applicable
82+ // / byte or word instructions with better alternatives.
8483 void processBasicBlock (MachineFunction &MF, MachineBasicBlock &MBB);
8584
86- // / \brief This sets the \p SuperDestReg to the 32 bit super reg
87- // / of the original destination register of the MachineInstr
88- // / passed in. It returns true if that super register is dead
89- // / just prior to \p OrigMI, and false if not.
85+ // / This sets the \p SuperDestReg to the 32 bit super reg of the original
86+ // / destination register of the MachineInstr passed in. It returns true if
87+ // / that super register is dead just prior to \p OrigMI, and false if not.
9088 bool getSuperRegDestIfDead (MachineInstr *OrigMI,
9189 unsigned &SuperDestReg) const ;
9290
93- // / \brief Change the MachineInstr \p MI into the equivalent extending load
94- // / to 32 bit register if it is safe to do so. Return the replacement
95- // / instruction if OK, otherwise return nullptr.
91+ // / Change the MachineInstr \p MI into the equivalent extending load to 32 bit
92+ // / register if it is safe to do so. Return the replacement instruction if
93+ // / OK, otherwise return nullptr.
9694 MachineInstr *tryReplaceLoad (unsigned New32BitOpcode, MachineInstr *MI) const ;
9795
9896public:
@@ -104,9 +102,9 @@ class FixupBWInstPass : public MachineFunctionPass {
104102 MachineFunctionPass::getAnalysisUsage (AU);
105103 }
106104
107- // / \brief Loop over all of the basic blocks,
108- // / replacing byte and word instructions by equivalent 32 bit instructions
109- // / where performance or code size can be improved.
105+ // / Loop over all of the basic blocks, replacing byte and word instructions by
106+ // / equivalent 32 bit instructions where performance or code size can be
107+ // / improved.
110108 bool runOnMachineFunction (MachineFunction &MF) override ;
111109
112110 MachineFunctionProperties getRequiredProperties () const override {
0 commit comments