Unverified Commit d56e0d07 authored by Romaric Jodin's avatar Romaric Jodin Committed by GitHub
Browse files

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.
parent e017169d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment