diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-08-12 11:50:42 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-08-14 18:20:47 -0400 |
commit | a70006c4c581ef3f9b355ec78ec38023faada6c6 (patch) | |
tree | 4e27670a7f107bd3acc58177078d1ff866f118d8 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 3e068f2fd7dac9a398de41c85e97e1af42b4c76b (diff) | |
download | llvm-a70006c4c581ef3f9b355ec78ec38023faada6c6.zip llvm-a70006c4c581ef3f9b355ec78ec38023faada6c6.tar.gz llvm-a70006c4c581ef3f9b355ec78ec38023faada6c6.tar.bz2 |
AMDGPU: Replace some libcalls with intrinsics
OpenCL loses fast math information by going through libcall wrappers
around intrinsics.
Do this to preserve call site flags which are lost when inlining. It's
not safe in general to propagate flags during inline, so avoid dealing
with this by just special casing some of the useful calls.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions