[llvm] [Exegesis][RISCV] Add RISCV support for llvm-exegesis (PR #89047)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 31 02:54:57 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:
That's a good idea, thanks for the suggestion. But I propose to make this in a separate pull request, since it does not provide functionality now.
https://github.com/llvm/llvm-project/pull/89047
More information about the llvm-commits
mailing list