Unverified Commit 4d4c30a3 authored by James Y Knight's avatar James Y Knight Committed by GitHub
Browse files

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.
parent a0eda109
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment