[llvm] [AArch64][GlobalISel] Add legalisation for G_INSERT_SUBVECTOR (PR #205349)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 08:47:08 PDT 2026


================
@@ -349,6 +349,7 @@ def : GINodeEquiv<G_SLI, AArch64vsli>;
 def : GINodeEquiv<G_SRI, AArch64vsri>;
 
 def : GINodeEquiv<G_EXTRACT_VECTOR_ELT, vector_extract>;
+def : GINodeEquiv<G_INSERT_SUBVECTOR, insert_subvector>;
----------------
davemgreen wrote:

I don't think we have any legal G_INSERT_SUBVECTOR at the moment, so this wont be used? It can be removed in that case.

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


More information about the llvm-commits mailing list