[all-commits] [llvm/llvm-project] a5f172: [SDAG] Fix neutral value for vecreduce_fadd

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Oct 29 13:29:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a5f172927df578fe06e4b28da48d979458c88e0a
      https://github.com/llvm/llvm-project/commit/a5f172927df578fe06e4b28da48d979458c88e0a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/AArch64/vecreduce-fadd-legalization.ll

  Log Message:
  -----------
  [SDAG] Fix neutral value for vecreduce_fadd

The neutral value for FADD is -0.0, not 0.0, so this is what we
need to pad vectors with.




More information about the All-commits mailing list