[all-commits] [llvm/llvm-project] 04cae9: [SPIRV] Conditionally define `__AMDGCN_UNSAFE_FP_A...

Alex Voicu via All-commits all-commits at lists.llvm.org
Thu Apr 16 08:48:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04cae92976cc89c9747cb057c9d88a4c1bc25db6
      https://github.com/llvm/llvm-project/commit/04cae92976cc89c9747cb057c9d88a4c1bc25db6
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M clang/lib/Basic/Targets/SPIR.cpp
    M clang/test/Preprocessor/predefined-macros.c

  Log Message:
  -----------
  [SPIRV] Conditionally define `__AMDGCN_UNSAFE_FP_ATOMICS__` for AMDGCN flavoured SPIR-V (#192136)

Client apps rely on the `__AMDGCN_UNSAFE_FP_ATOMICS__` macro to guide
optimised execution pathways. We were not defining it for AMDGCN
flavoured SPIR-V, which led to pessimisation.



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