[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


================
@@ -133,6 +135,10 @@ struct CodeTemplate {
   // the pointer to this memory is passed in to the function.
   unsigned ScratchSpacePointerInReg = 0;
 
+  // Require to pre-store value of a given register (fisrt)
+  // to scratch memory with given offset (second)
+  SmallVector<std::pair<unsigned, unsigned>, 2> PreinitScratchMemory;
----------------
boomanaiden154 wrote:

It doesn't seem like this is used anywhere in the current revision? If not, we can probably remove it for now.

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


More information about the llvm-commits mailing list