[llvm] [PowerPC] custom lower v1024i1 load/store (PR #126969)

Maryam Moghadas via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 13:33:32 PST 2025


================
@@ -1363,6 +1363,11 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM,
     setOperationAction(ISD::STORE, MVT::v512i1, Custom);
     setOperationAction(ISD::BUILD_VECTOR, MVT::v512i1, Custom);
   }
+  if (Subtarget.isISAFuture()) {
+    setOperationAction(ISD::LOAD, MVT::v1024i1, Custom);
+    setOperationAction(ISD::STORE, MVT::v1024i1, Custom);
+    addRegisterClass(MVT::v1024i1, &PPC::DMRRCRegClass);
+  }
----------------
maryammo wrote:

According to PPC.cpp future CPU should include all of the features of Power11, and  Power11 includes all the same features as Power10 where mma feature is set to true for Power10, so I think isISAFuture implies hasMMA. 

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


More information about the llvm-commits mailing list