[all-commits] [llvm/llvm-project] d61b45: [Clang] Generate ptr and float atomics without int...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Mar 3 07:58:02 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d61b45cd409d6def96eae8977bab2b0393c96b7e
      https://github.com/llvm/llvm-project/commit/d61b45cd409d6def96eae8977bab2b0393c96b7e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/test/CodeGen/atomic-arm64.c
    M clang/test/CodeGen/atomic-ops.c
    M clang/test/CodeGen/big-atomic-ops.c
    M clang/test/CodeGenOpenCL/atomic-ops.cl

  Log Message:
  -----------
  [Clang] Generate ptr and float atomics without integer casts (#183853)

Summary:
LLVM IR should support these for all cases except for compare-exchange.
Currently the code goes through an integer indirection for these cases.
This PR changes the behavior to use atomics directly to the target
memory type.



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