[llvm] [Exegesis][RISCV] Add RISCV support for llvm-exegesis (PR #89047)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 23 08:27:50 PDT 2024
================
@@ -86,6 +86,16 @@ class ExegesisTarget {
ArrayRef<const char *> ValidationCounters,
const pid_t ProcessID = 0) const;
+ virtual bool checkOpcodeSupported(int Opcode,
+ const MCSubtargetInfo &SI) const {
+ return true;
+ }
+
+ // Find register by name, 0 if not found.
+ virtual unsigned findRegisterByName(const StringRef RegName) const {
+ return 0;
----------------
AnastasiyaChernikova wrote:
Addressed
https://github.com/llvm/llvm-project/pull/89047
More information about the llvm-commits
mailing list