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

Roman Belenov via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 22:06:29 PDT 2025


================
@@ -42,19 +43,91 @@ CustomBehaviour::getEndViews(llvm::MCInstPrinter &IP,
   return std::vector<std::unique_ptr<View>>();
 }
 
+class CustomInstrument : public Instrument {
----------------
r-belenov wrote:

Ok, I'll change the code to leave the logic in the base IM only without TargetIM indirection.

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


More information about the llvm-commits mailing list