[llvm] [MCA] Enable customization of individual instructions (PR #155420)
Roman Belenov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 28 06:49:45 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:
I've added target IM creation into default IM constructor to simplify the logic in the tool code.
https://github.com/llvm/llvm-project/pull/155420
More information about the llvm-commits
mailing list