[llvm] [MCA] Enable customization of individual instructions (PR #155420)
Roman Belenov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 22:07:23 PDT 2025
================
@@ -143,19 +146,27 @@ class LLVM_ABI InstrumentManager {
protected:
const MCSubtargetInfo &STI;
const MCInstrInfo &MCII;
+ bool EnableDefaults;
+ std::unique_ptr<InstrumentManager> TargetIM;
----------------
r-belenov wrote:
I'd like to have InstrDesc customization generic (e.g. latency change code is generic, other things I do locally also do not require target details) and coexist with target-specific instrumentation.
https://github.com/llvm/llvm-project/pull/155420
More information about the llvm-commits
mailing list