[llvm] [Exegesis][RISCV] Add RISCV support for llvm-exegesis (PR #89047)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 12:03:20 PDT 2024


================
@@ -207,14 +208,16 @@ class BenchmarkCodeStreamer : public MCStreamer, public AsmCommentConsumer {
                     Align ByteAlignment, SMLoc Loc) override {}
 
   unsigned findRegisterByName(const StringRef RegName) const {
+    if (unsigned Reg = Target.findRegisterByName(RegName))
+      return Reg;
----------------
AnastasiyaChernikova wrote:

Addressed, deleted in this PR

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


More information about the llvm-commits mailing list