[PATCH] D98963: [LoopVectorize] Change the identity element for FAdd where nsz is false

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 05:10:54 PDT 2021


david-arm added a comment.

In D98963#2638353 <https://reviews.llvm.org/D98963#2638353>, @lebedev.ri wrote:

> Why not just always use `-0.0`?

We could do that - I guess we might see quite a few test failures though. Is there potential for less optimal code because the FP vector can no longer be a `zeroinitializer`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98963/new/

https://reviews.llvm.org/D98963



More information about the llvm-commits mailing list