[llvm] [MCA] Enable customization of individual instructions (PR #155420)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 09:56:30 PDT 2025


================
@@ -143,19 +146,27 @@ class LLVM_ABI InstrumentManager {
 protected:
   const MCSubtargetInfo &STI;
   const MCInstrInfo &MCII;
+  bool EnableDefaults;
+  std::unique_ptr<InstrumentManager> TargetIM;
----------------
mshockwave wrote:

InstrumentManager is already target-specific, why do you need TargetIM here?

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


More information about the llvm-commits mailing list