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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 09:15:51 PDT 2024


================
@@ -1009,6 +1011,10 @@ static std::vector<MCInst> loadImmediateSegmentRegister(unsigned Reg,
 #endif // defined(__x86_64__) && defined(__linux__)
 }
 
+unsigned ExegesisX86Target::findRegisterByName(const StringRef RegName) const {
----------------
topperc wrote:

Can we just have a default implementation that returns `MCRegister::NoRegister` instead of having a function for every target?

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


More information about the llvm-commits mailing list