diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2024-01-22 19:12:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 13:12:05 -0500 |
commit | 7378fb30645ad5398491acea3960a8115d1b171c (patch) | |
tree | 44087e7a5413f16a7804af141c097d5098f72040 /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | e390bda9782b461f10433aa6728acf87521e22a5 (diff) | |
download | llvm-7378fb30645ad5398491acea3960a8115d1b171c.zip llvm-7378fb30645ad5398491acea3960a8115d1b171c.tar.gz llvm-7378fb30645ad5398491acea3960a8115d1b171c.tar.bz2 |
[libc++] Protect the libc++ implementation from CUDA SDK's __noinline__ macro (#73838)
The CUDA SDK contains an unfortunate definition for the `__noinline__`
macro. This patch works around it by using `__attribute__((noinline))`
instead of `__attribute__((__noinline__))` on CUDA. We are still waiting
for a long-term resolution to this issue in NVIDIA/cccl#1235.
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions