[llvm] [llvm-exegesis] Process memory operands with unsuitable register class (PR #190342)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 06:54:44 PDT 2026


================
@@ -207,6 +207,11 @@ class ExegesisTarget {
         "fillMemoryOperands() requires getScratchMemoryRegister() > 0");
   }
 
+  virtual std::optional<MCInst> createCopyInstruction(MCRegister Src,
+                                                      MCRegister Dst) const {
+    return std::nullopt;
----------------
boomanaiden154 wrote:

This should be unreachable? Otherwise other targets will silently generate incorrect snippets.

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


More information about the llvm-commits mailing list