[PATCH] D28508: [NVPTX] Lower to sqrt.approx and rsqrt.approx under more circumstances.

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 23:08:53 PST 2017


jlebar updated this revision to Diff 84632.
jlebar added a comment.

Update to use getSqrtEstimate, per Hal's suggestions.


https://reviews.llvm.org/D28508

Files:
  llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
  llvm/lib/Target/NVPTX/NVPTXISelLowering.h
  llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
  llvm/test/CodeGen/NVPTX/fast-math.ll
  llvm/test/CodeGen/NVPTX/rsqrt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28508.84632.patch
Type: text/x-patch
Size: 7530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170117/46d4d4f5/attachment.bin>


More information about the llvm-commits mailing list