[llvm] [PowerPC] Add Dense Math binary integer outer-Product accumulate to DMR Instructions (PR #130791)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Mar 12 13:47:38 PDT 2025
    
    
  
================
@@ -11,6 +11,13 @@
 //
 //===----------------------------------------------------------------------===//
 
+// Mask immediates for MMA instructions (2, 4 and 8 bits).
+def Msk2Imm : ImmLeaf<i32, [{ return isUInt<2>(Imm); }]>;
+def Msk4Imm : ImmLeaf<i32, [{ return isUInt<4>(Imm); }]>;
+def Msk8Imm : ImmLeaf<i32, [{ return isUInt<8>(Imm); }]>;
+
+def MMA : Predicate<"Subtarget->hasMMA()">;
+
----------------
RolandF77 wrote:
Can this stuff be moved to PPCInstrInfo.td instead? It doesn't make sense to me for MMA to depend on MMA Future.
https://github.com/llvm/llvm-project/pull/130791
    
    
More information about the llvm-commits
mailing list