[llvm] [AArch64][SME2] Add FORM_STRIDED_TUPLE pseudo nodes (PR #116399)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 01:56:21 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;
----------------
sdesmalen-arm wrote:
The name for the pseudo is a misnomer. ZPR2Mul2 are tuples of the form `z0_z1`, `z2_z3`, etc, so the registers are actually consecutive, not strided.
What about naming these `AArch64::FORM_TRANSPOSED_REG_TUPLE_X2_PSEUDO` ?
https://github.com/llvm/llvm-project/pull/116399
More information about the llvm-commits
mailing list