================
@@ -122,165 +126,41 @@ struct ReduceEntry {
 struct ReduceEntryFunArgs {
   MachineInstr *MI;         // Instruction
   const ReduceEntry &Entry; // Entry field
+  const MipsInstrInfo *MipsII;
   MachineBasicBlock::instr_iterator
       &NextMII; // Iterator to next instruction in block
 
   ReduceEntryFunArgs(MachineInstr *argMI, const ReduceEntry &argEntry,
+                     const MipsInstrInfo *argMipsII,
                      MachineBasicBlock::instr_iterator &argNextMII)
-      : MI(argMI), Entry(argEntry), NextMII(argNextMII) {}
+      : MI(argMI), Entry(argEntry), MipsII(argMipsII), NextMII(argNextMII) {}
 };
 
 typedef llvm::SmallVector<ReduceEntry, 32> ReduceEntryVector;
 
-class MicroMipsSizeReduce : public MachineFunctionPass {
+class MipsMicroSizeReduceLegacy : public MachineFunctionPass {
----------------
yingopq wrote:

Likewise.

https://github.com/llvm/llvm-project/pull/237139
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to