[all-commits] [llvm/llvm-project] 0f2496: [Clang][AMDGPU] Deprecate icmp/fcmp builtins in fa...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Jul 15 04:08:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f24969ade9df74b11ff70a2c0b1f49ff49e92fd
      https://github.com/llvm/llvm-project/commit/0f24969ade9df74b11ff70a2c0b1f49ff49e92fd
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.md
    M clang/lib/Sema/SemaAMDGPU.cpp
    A clang/test/SemaOpenCL/builtins-amdgcn-cmp-deprecated.cl

  Log Message:
  -----------
  [Clang][AMDGPU] Deprecate icmp/fcmp builtins in favor of ballot (#209416)

Deprecate these builtins with a warning recommending
__builtin_amdgcn_ballot_w32 or __builtin_amdgcn_ballot_w64 instead:
  __builtin_amdgcn_uicmp
  __builtin_amdgcn_uicmpl
  __builtin_amdgcn_sicmp
  __builtin_amdgcn_sicmpl
  __builtin_amdgcn_fcmp
  __builtin_amdgcn_fcmpf

Assisted-by: Claude Opus 4.8



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