[all-commits] [llvm/llvm-project] c2551c: [GlobalISel] Remove scalar src from non-sequential...

AE via All-commits all-commits at lists.llvm.org
Thu Oct 15 16:01:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c2551c1f4058d2c3cc4964b1d1d0ca5946036f6c
      https://github.com/llvm/llvm-project/commit/c2551c1f4058d2c3cc4964b1d1d0ca5946036f6c
  Author: Amara Emerson <amara at apple.com>
  Date:   2020-10-15 (Thu, 15 Oct 2020)

  Changed paths:
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    M llvm/test/MachineVerifier/test_vector_reductions.mir

  Log Message:
  -----------
  [GlobalISel] Remove scalar src from non-sequential fadd/fmul reductions.

It's probably better to split these into separate G_FADD/G_FMUL + G_VECREDUCE
operations in the translator rather than carrying the scalar around. The
majority of the time it'll get simplified away as the scalars are probably
identity values.

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




More information about the All-commits mailing list