[PATCH] D111657: [SVE][CodeGen] Enable reciprocal estimates for scalable fdiv/fsqrt
Kerry McLaughlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 22 06:37:50 PDT 2021
kmclaughlin added inline comments.
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:1935-1936
+ def : SVE_2_Op_Pat<nxv2f16, op, nxv2f16, nxv2f16, !cast<Instruction>(NAME # _H)>;
+ def : SVE_2_Op_Pat<nxv4f16, op, nxv4f16, nxv4f16, !cast<Instruction>(NAME # _H)>;
def : SVE_2_Op_Pat<nxv8f16, op, nxv8f16, nxv8f16, !cast<Instruction>(NAME # _H)>;
----------------
paulwalker-arm wrote:
> If the answer to my previous question is that it is unsafe for unpacked vectors then please remove these patterns. If there comes a time that we definitely want to support unpacked vectors I think we'll probably need slightly differ ISEL patterns for those types.
Hi @paulwalker-arm, I've removed these patterns as the reciprocal instructions can generate exceptions.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111657/new/
https://reviews.llvm.org/D111657
More information about the llvm-commits
mailing list