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

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 00:19:42 PST 2024


================
@@ -2121,6 +2120,31 @@ bool AArch64InstructionSelector::preISelLower(MachineInstr &I) {
     }
     return false;
   }
+  case TargetOpcode::G_INSERT_VECTOR_ELT: {
+    Register InsReg = I.getOperand(2).getReg();
----------------
aemerson wrote:

Please add a comment documenting what this is trying to do and why.

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


More information about the llvm-commits mailing list