[llvm-branch-commits] [Mips] Port MicroSizeReduc to NewPM (PR #237139)
Ying Huang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 30 02:34:56 PDT 2026
================
@@ -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
More information about the llvm-branch-commits
mailing list