Partially revert "clang/HIP: Remove __llvm_amdgcn_* wrapper hacks"
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 21 Jul 2023 16:33:35 +0000 (12:33 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 22 Jul 2023 12:07:50 +0000 (08:07 -0400)
commit9b2dfff57a382b757c358b43ee1df7591cb480ee
treee2f54ecb1fa376e91a9e5247032f3173891171fb
parentbd203072e605f6559d3234ee9fb3b8ff415520ce
Partially revert "clang/HIP: Remove __llvm_amdgcn_* wrapper hacks"

Revert part of f407a7399575a6821940973c54754d42e72dd9ce.

Some of the HIP headers were using the f16 rcp inline, such that it
breaks compiling code against non-top-of-tree headers. Need to wait
for a few HIP releases to expire to fully remove these.

Fixes #63981
clang/lib/Headers/__clang_hip_libdevice_declares.h
clang/test/Headers/__clang_hip_math_deprecated.hip [new file with mode: 0644]