[llvm] [Exegesis][RISCV] Add RISCV support for llvm-exegesis (PR #89047)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 11:10:17 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;
----------------
boomanaiden154 wrote:
Could this actually be pulled out?
https://github.com/llvm/llvm-project/pull/89047
More information about the llvm-commits
mailing list