[llvm] [MCA][RISCV]Enable latency instrument on RISCV (PR #160063)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 22 09:42:10 PDT 2025
================
@@ -110,8 +111,9 @@ RISCVInstrumentManager::createInstrument(llvm::StringRef Desc,
return std::make_unique<RISCVSEWInstrument>(Data);
}
- LLVM_DEBUG(dbgs() << "RVCB: Unknown instrumentation Desc: " << Desc << '\n');
- return nullptr;
+ LLVM_DEBUG(dbgs() << "RVCB: Creating default instrument for Desc: " << Desc
----------------
mshockwave wrote:
nit: `LDBG` was introduced recently (https://www.llvm.org/docs/ProgrammersManual.html#the-ldbg-and-llvm-debug-macros-and-debug-option) could we use that here?
https://github.com/llvm/llvm-project/pull/160063
More information about the llvm-commits
mailing list