[PATCH] D114765: [X86][FP16] Only generate approximate rsqrt when Reciprocal is true for half type

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 29 23:10:57 PST 2021


pengfei updated this revision to Diff 390577.
pengfei added a comment.

> So I think X86 should either insert the final FMUL itself or ...

Insert a FMUL. Thanks Craig!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114765

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/avx512fp16vl-intrinsics.ll
  llvm/test/CodeGen/X86/sqrt-fastmath.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114765.390577.patch
Type: text/x-patch
Size: 5709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211130/3c6563eb/attachment-0001.bin>


More information about the llvm-commits mailing list