[clang] [llvm] [X86][AMX] Support AMX-MOVRS (PR #115151)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 9 19:54:41 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;
+      [[fallthrough]];
----------------
phoebewang wrote:

Remove the check. We don't need check for target intrinsics.

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


More information about the cfe-commits mailing list