[all-commits] [llvm/llvm-project] 34c7cf: [Clang] Add support for fp when using min_fetch/ma...

Amina Chabane via All-commits all-commits at lists.llvm.org
Mon Oct 13 03:36:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34c7cf07507841a8e6480dcaad88c6a4dfa40e4b
      https://github.com/llvm/llvm-project/commit/34c7cf07507841a8e6480dcaad88c6a4dfa40e4b
  Author: Amina Chabane <amina.chabane at arm.com>
  Date:   2025-10-13 (Mon, 13 Oct 2025)

  Changed paths:
    M clang/lib/CodeGen/CGAtomic.cpp
    A clang/test/CodeGen/AArch64/atomic-ops-float-check-minmax.c
    A clang/test/Sema/atomic-ops-fp-minmax.c

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list