[clang] [llvm] [CLANG][LLVM][AArch64]SME2.1 intrinsics for MOVAZ tile to 2/4 vectors (PR #88710)
Momchil Velikov via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 08:25:01 PDT 2024
================
@@ -2939,59 +2922,18 @@ MachineBasicBlock *AArch64TargetLowering::EmitInstrWithCustomInserter(
TII->get(MI.getOpcode()).TSFlags & AArch64::SMEMatrixTypeMask;
switch (SMEMatrixType) {
case (AArch64::SMEMatrixArray):
- return EmitZAInstr(SMEOrigInstr, AArch64::ZA, MI, BB, /*HasTile*/ false,
- /*HasZPROut*/ false);
+ return EmitZAInstr(SMEOrigInstr, AArch64::ZA, MI, BB);
case (AArch64::SMEMatrixTileB):
- switch (MI.getOpcode()) {
- case AArch64::MOVAZ_2ZMI_H_B_PSEUDO:
- case AArch64::MOVAZ_2ZMI_V_B_PSEUDO:
- case AArch64::MOVAZ_4ZMI_H_B_PSEUDO:
- case AArch64::MOVAZ_4ZMI_V_B_PSEUDO:
- return EmitZAInstr(SMEOrigInstr, AArch64::ZAB0, MI, BB,
- /*HasTile*/ true, /*HasZPROut*/ true);
- default:
- return EmitZAInstr(SMEOrigInstr, AArch64::ZAB0, MI, BB,
- /*HasTile*/ true, /*HasZPROut*/ false);
- }
+ return EmitZAInstr(SMEOrigInstr, AArch64::ZAB0, MI, BB);
case (AArch64::SMEMatrixTileH):
- switch (MI.getOpcode()) {
- case AArch64::MOVAZ_2ZMI_H_H_PSEUDO:
- case AArch64::MOVAZ_2ZMI_V_H_PSEUDO:
- case AArch64::MOVAZ_4ZMI_H_H_PSEUDO:
- case AArch64::MOVAZ_4ZMI_V_H_PSEUDO:
- return EmitZAInstr(SMEOrigInstr, AArch64::ZAH0, MI, BB,
- /*HasTile*/ true, /*HasZPROut*/ true);
- default:
- return EmitZAInstr(SMEOrigInstr, AArch64::ZAH0, MI, BB,
- /*HasTile*/ true, /*HasZPROut*/ false);
- }
+ return EmitZAInstr(SMEOrigInstr, AArch64::ZAH0, MI, BB);
+ ///*HasTile*/ true, /*HasZPROut*/ false);
----------------
momchil-velikov wrote:
Stray comment.
https://github.com/llvm/llvm-project/pull/88710
More information about the llvm-commits
mailing list