Skip to content
Commit 15e0fe0b authored by Matt Arsenault's avatar Matt Arsenault Committed by Matt Arsenault
Browse files

clang/OpenCL: Add inline implementations of sqrt in builtin header

We want the !fpmath metadata to be attached to the sqrt intrinsic to
make it to the backend lowering. Emit an available_externally
definition which uses the builtin, which emits the !fpmath.

Fixes #64264

https://reviews.llvm.org/D156743
parent 72a7024a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment