[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 =
----------------
sdesmalen-arm wrote:
`NumOperands` is only used to define `RegClass`. It seems better to create a switch-statement that sets `RegClass`, and has an `llvm_unreachable` for any unsupported opcodes.
https://github.com/llvm/llvm-project/pull/116399
More information about the llvm-commits
mailing list