[llvm] [PowerPC] Add PPC BE support for partial reductions (PR #195927)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 22 08:11:19 PDT 2026


================
@@ -1376,6 +1376,16 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM,
     if (Subtarget.hasP10Vector()) {
       setOperationAction(ISD::SELECT_CC, MVT::f128, Custom);
     }
+
+    setOperationAction(ISD::PARTIAL_REDUCE_UMLA, MVT::v16i32, Custom);
----------------
RolandF77 wrote:

AFAIK prior to demotion it will always be an UMLA. If the inputs are i32 and the outputs are i32 there is no extension required so there is no need to encode how to extend.

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


More information about the llvm-commits mailing list