[llvm] [AArch64][GISel] Support SVE with 128-bit min-size for G_LOAD and G_STORE (PR #92130)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 11:30:06 PDT 2024


================
@@ -901,6 +901,27 @@ static unsigned selectLoadStoreUIOp(unsigned GenericOpc, unsigned RegBankID,
   return GenericOpc;
 }
 
+/// Select the AArch64 opcode for the G_LOAD or G_STORE operation for scalable 
+/// vectors.
+/// \p ElementSize size of the element of the scalable vector
+static unsigned selectLoadStoreSVEOp(const unsigned GenericOpc,
----------------
arsenm wrote:

Is this manually selected in the DAG path? Can you do this in tablegen? 

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


More information about the llvm-commits mailing list