[PATCH] D76853: [DAGCombiner] Use rsqrt to estimate sqrt only when ninf flag set

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 29 09:03:42 PDT 2020


qiucf updated this revision to Diff 253425.
qiucf added a comment.

Address comments to move check into `visitFSQRT`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76853

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/NVPTX/fast-math.ll
  llvm/test/CodeGen/NVPTX/sqrt-approx.ll
  llvm/test/CodeGen/PowerPC/fmf-propagation.ll
  llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll
  llvm/test/CodeGen/X86/sqrt-fastmath.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76853.253425.patch
Type: text/x-patch
Size: 28425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200329/e437564f/attachment-0001.bin>


More information about the llvm-commits mailing list