================
@@ -2224,6 +2229,33 @@ void AArch64DAGToDAGISel::SelectFrintFromVT(SDNode *N, 
unsigned NumVecs,
   SelectUnaryMultiIntrinsic(N, NumVecs, true, Opcode);
 }
 
+void AArch64DAGToDAGISel::EmitMultiVectorLutiLane(SDNode *Node,
+                                                  unsigned NumOutVecs,
+                                                  unsigned Opc,
+                                                  ArrayRef<SDValue> Ops) {
+  SDLoc DL(Node);
+  EVT VT = Node->getValueType(0);
+  bool HasChain = Node->getOpcode() == ISD::INTRINSIC_W_CHAIN;
+
+  SmallVector<SDValue, 4> MachineOps(Ops);
----------------
kmclaughlin-arm wrote:

Sorry, what I meant in my previous review was that the Chain can be added to 
`Ops` before calling `EmitMultiVectorLutiLane`. That way you don't need to 
create a new vector here and can just use `Ops` directly.

https://github.com/llvm/llvm-project/pull/187046
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to