[PATCH] D105902: [RISCV] Fix the neutral element in vector 'fadd' reductions
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 14 02:31:16 PDT 2021
frasercrmck added a comment.
In D105902#2874504 <https://reviews.llvm.org/D105902#2874504>, @jrtc27 wrote:
> Presumably something like:
>
> fmv.[hwd].x freg, zero
> fsgnjn.[hsd] freg, freg, freg
>
> (leaving D as using a constant pool on RV32) would do the trick?
Sounds good, yeah. I'll put it on my list but if anyone else feels like taking it on, be my guest.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105902/new/
https://reviews.llvm.org/D105902
More information about the llvm-commits
mailing list