[clang] [llvm] [X86][AMX] Support AMX-MOVRS (PR #115151)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 9 19:31:51 PST 2024
================
@@ -27291,6 +27291,13 @@ static SDValue LowerINTRINSIC_W_CHAIN(SDValue Op, const X86Subtarget &Subtarget,
return DAG.getNode(ISD::MERGE_VALUES, dl, Op->getVTList(), SetCC,
Operation.getValue(1));
}
+ case Intrinsic::x86_t2rpntlvwz0rs_internal:
+ case Intrinsic::x86_t2rpntlvwz0rst1_internal:
+ case Intrinsic::x86_t2rpntlvwz1rs_internal:
+ case Intrinsic::x86_t2rpntlvwz1rst1_internal:
+ if (!Subtarget.hasAMXTRANSPOSE() || !Subtarget.hasAMXMOVRS())
+ break;
----------------
phoebewang wrote:
Checking `Subtarget.hasAMXMOVRS()` only.
https://github.com/llvm/llvm-project/pull/115151
More information about the llvm-commits
mailing list