[all-commits] [llvm/llvm-project] 2bef21: [DAGCombiner] Add generic DAG combine for ISD::PAR...

James Chesterman via All-commits all-commits at lists.llvm.org
Tue Mar 4 01:09:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bef21f24ba932a757a644470358c340f4bcd113
      https://github.com/llvm/llvm-project/commit/2bef21f24ba932a757a644470358c340f4bcd113
  Author: James Chesterman <James.Chesterman at arm.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/neon-partial-reduce-dot-product.ll
    M llvm/test/CodeGen/AArch64/sve-partial-reduce-dot-product.ll

  Log Message:
  -----------
  [DAGCombiner] Add generic DAG combine for ISD::PARTIAL_REDUCE_MLA (#127083)

Add generic DAG combine for ISD::PARTIAL_REDUCE_U/SMLA nodes. Transforms
the DAG from:
PARTIAL_REDUCE_MLA(Acc, MUL(EXT(MulOpLHS), EXT(MulOpRHS)), Splat(1)) to
PARTIAL_REDUCE_MLA(Acc, MulOpLHS, MulOpRHS).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list