[PATCH] D73588: AMDGPU: Enhancement on FDIV lowering in AMDGPUCodeGenPrepare

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 5 14:16:41 PST 2020


cfang updated this revision to Diff 242750.
cfang added a comment.

Rename a few functions and variables:

1. optimizeWithRcp and optimizeWithFDivFast
2. bool AllowInaccurateRcp = unsafe-fp-math || arcp
  - Specified or implied by the options or function attributes, rcp is allowed to be used even though it is not accurate.


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

https://reviews.llvm.org/D73588

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fdiv.ll
  llvm/test/CodeGen/AMDGPU/fdiv.f16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73588.242750.patch
Type: text/x-patch
Size: 18574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/42225fd3/attachment-0001.bin>


More information about the llvm-commits mailing list