diff options
author | James Y Knight <jyknight@google.com> | 2023-12-04 13:37:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 13:37:04 -0500 |
commit | 4d4c30a37c75a4c41bcc70be1431651704624b6a (patch) | |
tree | 5828c4edf50a7cc4f866d3113802cf04b74ac0f9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a0eda109471b74ef929f5830438201973d70705e (diff) | |
download | llvm-4d4c30a37c75a4c41bcc70be1431651704624b6a.zip llvm-4d4c30a37c75a4c41bcc70be1431651704624b6a.tar.gz llvm-4d4c30a37c75a4c41bcc70be1431651704624b6a.tar.bz2 |
Use Address for CGBuilder's CreateAtomicRMW and CreateAtomicCmpXchg. (#74349)
Update all callers to pass through the Address.
For the older builtins such as `__sync_*` and MSVC `_Interlocked*`,
natural alignment of the atomic access is _assumed_. This change
preserves that behavior. It will pass through greater-than-required
alignments, however.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions