diff options
author | Romaric Jodin <89833130+rjodinchr@users.noreply.github.com> | 2023-12-01 08:34:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 16:34:44 +0900 |
commit | d56e0d07cc5ee8e334fd1ad403eef0b1a771384f (patch) | |
tree | 0d5b1ac160a542000aa789e292174f4a4727f5ec /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e017169dbd0215e892570e74668f5c3289db3310 (diff) | |
download | llvm-d56e0d07cc5ee8e334fd1ad403eef0b1a771384f.zip llvm-d56e0d07cc5ee8e334fd1ad403eef0b1a771384f.tar.gz llvm-d56e0d07cc5ee8e334fd1ad403eef0b1a771384f.tar.bz2 |
clang/OpenCL: set sqrt fp accuracy on call to Z4sqrt (#66651)
This is reverting the previous implementation to avoid adding inline
function in opencl headers.
This was breaking clspv flow google/clspv#1231, while
https://reviews.llvm.org/D156743 mentioned that just decorating the call
node with `!pfmath` was enough.
This PR is implementing this idea.
The test has been updated with this implementation.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions