diff options
author | Damien L-G <dalg24@gmail.com> | 2025-09-23 10:33:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-23 10:33:33 -0500 |
commit | c1720822b634a7d13863ef631120f9d653cc9cf7 (patch) | |
tree | cef315e06c836e429152670ad1626ec2e8cccc3f /llvm/lib/Support/OptimizedStructLayout.cpp | |
parent | 3a1111d6681f69f502952e1bd39c79b4f3bedca8 (diff) | |
download | llvm-c1720822b634a7d13863ef631120f9d653cc9cf7.zip llvm-c1720822b634a7d13863ef631120f9d653cc9cf7.tar.gz llvm-c1720822b634a7d13863ef631120f9d653cc9cf7.tar.bz2 |
[libc++][atomic_ref] Use __atomic_fetch_{add,sub} builtins on floating-points whenever possible (#135685)
Fix #135109
Clang is able to emit an `atomicrmw` instruction from the
`__atomic_fetch_add` and `__atomic_fetch_sub` builtins on floating-point
types.
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
0 files changed, 0 insertions, 0 deletions