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

Kerry McLaughlin via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 08:55:38 PST 2024


================
@@ -8641,6 +8646,55 @@ static bool checkZExtBool(SDValue Arg, const SelectionDAG &DAG) {
   return ZExtBool;
 }
 
+bool shouldUseFormStridedPseudo(MachineInstr &MI) {
+  MachineRegisterInfo &MRI = MI.getMF()->getRegInfo();
+  bool UseFormStrided = false;
+  unsigned NumOperands =
+      MI.getOpcode() == AArch64::FORM_STRIDED_TUPLE_X2_PSEUDO ? 2 : 4;
----------------
kmclaughlin-arm wrote:

Renamed to `FORM_TRANSPOSED_REG_TUPLE_X2_PSEUDO` & `AArch64::FORM_TRANSPOSED_REG_TUPLE_X4_PSEUDO`

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


More information about the llvm-commits mailing list