[all-commits] [llvm/llvm-project] fb559f: [AMDGPU][Clang] Handle instantiation-dependent fen...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Aug 5 11:47:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb559f5f016a35c07ba179b447bb10019db254c1
      https://github.com/llvm/llvm-project/commit/fb559f5f016a35c07ba179b447bb10019db254c1
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang/lib/Sema/SemaAMDGPU.cpp
    A clang/test/SemaHIP/amdgpu-builtin-fence.hip

  Log Message:
  -----------
  [AMDGPU][Clang] Handle instantiation-dependent fence arguments (#214294)

Refactor atomic builtin checks into their switch case and defer constant
evaluation of dependent arguments until instantiation, avoiding a
potential crash during template definition.

Fixes ROCM-29058.



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