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

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 10:19:47 PDT 2025


================
@@ -134,6 +134,27 @@ class Instrument {
   StringRef getData() const { return Data; }
 };
 
+class LatencyInstrument : public Instrument {
+  std::optional<unsigned> Latency;
+
+public:
+  static const llvm::StringRef DESC_NAME;
----------------
mshockwave wrote:

drop "llvm::"

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


More information about the llvm-commits mailing list