diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-11-25 07:38:28 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 07:38:28 -0600 |
commit | 506ca19dc9d6a9f0ad47b82e71525743bbe8cf85 (patch) | |
tree | 2cff996869d74b9f99fa2bcf28da6a780cdd4b80 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 52755ac2531529369f1f29b9d0b29645f304f389 (diff) | |
download | llvm-506ca19dc9d6a9f0ad47b82e71525743bbe8cf85.zip llvm-506ca19dc9d6a9f0ad47b82e71525743bbe8cf85.tar.gz llvm-506ca19dc9d6a9f0ad47b82e71525743bbe8cf85.tar.bz2 |
[OpenMP] Remove use of '__AMDGCN_WAVEFRONT_SIZE' (#113156)
Summary:
This is going to be deprecated in
https://github.com/llvm/llvm-project/pull/112849. This patch ports it to
use the builtin instead. This isn't a compile constant, so it could
slightly negatively affect codegen. There really should be an IR pass to
turn it into a constant if the function has known attributes.
Using the builtin is correct when we just do it for knowing the size
like we do here. Obviously guarding w32/w64 code with this check would
be broken.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions