[llvm-branch-commits] [Mips] Port MicroSizeReduc to NewPM (PR #237139)

Jiaxun Yang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Oct 31 03:54:28 PDT 2026


================
@@ -14,12 +14,16 @@
 #include "MipsInstrInfo.h"
 #include "MipsSubtarget.h"
 #include "llvm/ADT/Statistic.h"
+#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
+#include "llvm/CodeGen/MachinePassManager.h"
+#include "llvm/IR/Analysis.h"
+#include "llvm/Pass.h"
 #include "llvm/Support/Debug.h"
 
 using namespace llvm;
 
-#define DEBUG_TYPE "micromips-reduce-size"
+#define DEBUG_TYPE "mips-micro-reduce-size"
----------------
FlyGoat wrote:

I'd prefer `mips-micromips-reduce-size` as well, given that `micromips` is the name of the instruction set.

Ditto for mips16.

Thanks

https://github.com/llvm/llvm-project/pull/237139


More information about the llvm-branch-commits mailing list