[all-commits] [llvm/llvm-project] 77fd30: [CUDA][HIP] Fix template static member (#98580)

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Jul 12 07:08:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77fd30f7ce0795b4bbc22e65b3ff42856839d708
      https://github.com/llvm/llvm-project/commit/77fd30f7ce0795b4bbc22e65b3ff42856839d708
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGenCUDA/template-class-static-member.cu

  Log Message:
  -----------
  [CUDA][HIP] Fix template static member (#98580)

Should check host/device attributes before emitting static member of
template instantiation.

Fixes: https://github.com/llvm/llvm-project/issues/98151



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