diff options
author | Artem Belevich <tra@google.com> | 2023-01-11 17:09:21 -0800 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2023-01-12 15:37:50 -0800 |
commit | 1ad5f6af816a439a84f7d8fe3dff87dd1f8a39ba (patch) | |
tree | bd8ff4c2da09bfa5a90f276af0b5ceb4442a848d /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 57e455e6d90238f73db2b0c25d563c56e5a523e6 (diff) | |
download | llvm-1ad5f6af816a439a84f7d8fe3dff87dd1f8a39ba.zip llvm-1ad5f6af816a439a84f7d8fe3dff87dd1f8a39ba.tar.gz llvm-1ad5f6af816a439a84f7d8fe3dff87dd1f8a39ba.tar.bz2 |
[CUDA] added cmath wrappers to unbreak CUDA compilation after D79555
libc++ introduced a handful of internal functions that may or may not be
constexpr, depending on C++ version. For pre-constexpr variants we must declare
__device__ counterparts. Otherwise the code fails to compile on the GPU side.
See https://reviews.llvm.org/D79555
Differential Revision: https://reviews.llvm.org/D141555
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions