diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2018-06-27 15:33:33 +0000 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2018-06-27 15:33:33 +0000 |
commit | 1a1687f1bb23a9710797b2e0a2f5b68833c93e5e (patch) | |
tree | f809ed6bb538d27ab7cf3590dce82d0c373cfcbf /llvm/lib/IR/AutoUpgrade.cpp | |
parent | 43eec242e0c031b5548eb3a260b9db4b8b0daf7f (diff) | |
download | bcm5719-llvm-1a1687f1bb23a9710797b2e0a2f5b68833c93e5e.tar.gz bcm5719-llvm-1a1687f1bb23a9710797b2e0a2f5b68833c93e5e.zip |
[AMDGPU] Convert rcp to rcp_iflag
If a source of rcp instruction is a result of any conversion from
an integer convert it into rcp_iflag instruction. No FP exception
can ever happen except division by zero if a single precision rcp
argument is a representation of an integral number.
Differential Revision: https://reviews.llvm.org/D48569
llvm-svn: 335742
Diffstat (limited to 'llvm/lib/IR/AutoUpgrade.cpp')
0 files changed, 0 insertions, 0 deletions