aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorAmina Chabane <amina.chabane@arm.com>2025-10-13 11:36:24 +0100
committerGitHub <noreply@github.com>2025-10-13 11:36:24 +0100
commit34c7cf07507841a8e6480dcaad88c6a4dfa40e4b (patch)
treea4b0941deb8ad9466e5ce2e31d2aaeea4f8bfecb /llvm/lib/Object/Object.cpp
parent735ee5cc1f0d3566b548432d24a6b539a6a02af9 (diff)
downloadllvm-34c7cf07507841a8e6480dcaad88c6a4dfa40e4b.zip
llvm-34c7cf07507841a8e6480dcaad88c6a4dfa40e4b.tar.gz
llvm-34c7cf07507841a8e6480dcaad88c6a4dfa40e4b.tar.bz2
[Clang] Add support for fp when using min_fetch/max_fetch atomics (#160330)
Previously when using min_fetch/max_fetch atomics with floating point types, LLVM would emit a crash. This patch updates the EmitPostAtomicMinMax function in CGAtomic.cpp to take floating point types. Included is a clang CodeGen test atomic-ops-float-check-minmax.c and Sema test atomic-ops-fp-minmax.c.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions