[all-commits] [llvm/llvm-project] 7704c5: [RISCV] Use positive 0.0 for the neutral element i...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Dec 23 08:38:14 PST 2021
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-12-23 (Thu, 23 Dec 2021)
[RISCV] Use positive 0.0 for the neutral element in fadd reductions if nsz is present.
-0.0 requires a constant pool. +0.0 can be made with vmv.v.x x0.
Not doing this in getNeutralElement for fear of changing other targets.
Differential Revision: https://reviews.llvm.org/D115978
More information about the All-commits