[llvm] [AArch64][GlobalISel] Legalize Insert vector element (PR #81453)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 01:22:45 PST 2024


================
@@ -141,6 +141,7 @@ def : GINodeEquiv<G_CTLZ_ZERO_UNDEF, ctlz_zero_undef>;
 def : GINodeEquiv<G_CTTZ_ZERO_UNDEF, cttz_zero_undef>;
 def : GINodeEquiv<G_CTPOP, ctpop>;
 def : GINodeEquiv<G_EXTRACT_VECTOR_ELT, extractelt>;
+def : GINodeEquiv<G_INSERT_VECTOR_ELT, vector_insert>;
----------------
arsenm wrote:

vector_insert is the deprecated form with lax type constraints. insertelt should be preferred 

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


More information about the llvm-commits mailing list