diff options
author | Lewis Crawford <lcrawford@nvidia.com> | 2024-09-25 18:39:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 10:39:03 -0700 |
commit | 394f59c203c715d00be4643c20bbe22893397adf (patch) | |
tree | 7b0061a4a2552f8b3136c68c2fe1981609ad6bde /clang/unittests/Basic/FileManagerTest.cpp | |
parent | b1aea98cfa357e23f4bb52232da5f41781f23bff (diff) | |
download | llvm-394f59c203c715d00be4643c20bbe22893397adf.zip llvm-394f59c203c715d00be4643c20bbe22893397adf.tar.gz llvm-394f59c203c715d00be4643c20bbe22893397adf.tar.bz2 |
[NVPTX] Add Read/Write/SideEffect attributes to atomic instructions (#109665)
Set the mayLoad, mayStore, and hasSideEffects hints for NVPTX atomic
instructions. This prevents any optimizations (e.g. rematerialization)
from illegally duplicating them and generating broken code.
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions