[llvm] [AArch64][SME2] Add FORM_STRIDED_TUPLE pseudo nodes (PR #116399)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 06:59:45 PST 2024


================
@@ -7438,3 +7448,20 @@ bool AArch64DAGToDAGISel::SelectSMETileSlice(SDValue N, unsigned MaxSize,
   Offset = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i64);
   return true;
 }
+
+void AArch64DAGToDAGISel::SelectFormTuplePseudo(SDNode *Node, unsigned Size) {
+  assert((Size == 2 || Size == 4) && "Invalid Tuple size");
----------------
MacDue wrote:

Isn't `Size` just `Node->getNumOperands()` (or `getNumValues()`)?


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


More information about the llvm-commits mailing list