[all-commits] [llvm/llvm-project] 857b8a: [LoopVectorize] Change the identity element for FAdd

kmclaughlin-arm via All-commits all-commits at lists.llvm.org
Tue Apr 6 04:14:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 857b8a73da91e9036cf27f47939ee387966306c6
      https://github.com/llvm/llvm-project/commit/857b8a73da91e9036cf27f47939ee387966306c6
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/IVDescriptors.h
    M llvm/lib/Analysis/IVDescriptors.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll

  Log Message:
  -----------
  [LoopVectorize] Change the identity element for FAdd

Changes getRecurrenceIdentity to always return a neutral value of -0.0 for FAdd.

Reviewed By: dmgreen, spatel

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




More information about the All-commits mailing list