[all-commits] [llvm/llvm-project] 68a09c: [AArch64] Remove G_VECREDUCE_FADD from selectReduc...

David Green via All-commits all-commits at lists.llvm.org
Thu Jun 22 04:47:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68a09c929003bf6af41162ed9e6dc4713d96a997
      https://github.com/llvm/llvm-project/commit/68a09c929003bf6af41162ed9e6dc4713d96a997
  Author: David Green <david.green at arm.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/select-reduce-fadd.mir

  Log Message:
  -----------
  [AArch64] Remove G_VECREDUCE_FADD from selectReduction

I believe that for fp reductions we can use the imported tablegen patterns for
selection, as opposed to going via selectReduction. Integer reductions are more
difficult, as the return types in selection DAG will be promoted to i32.

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




More information about the All-commits mailing list