[all-commits] [llvm/llvm-project] 0b8471: [SelectionDAG] Correctly determine the VECREDUCE_S...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Thu Aug 5 01:52:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b8471e91bb62f1174a46607e6533fcea2ac12c6
      https://github.com/llvm/llvm-project/commit/0b8471e91bb62f1174a46607e6533fcea2ac12c6
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-08-05 (Thu, 05 Aug 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Correctly determine the VECREDUCE_SEQ_FMUL action

The LegalizeAction for this node should follow the logic for
`VECREDUCE_SEQ_FADD` and be determined using the vector operand's type.

here isn't an in-tree target that makes use of this, but I think it's safe to
say this is how it should behave, should a target want to customize the action
for this node.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D107478




More information about the All-commits mailing list