[all-commits] [llvm/llvm-project] 3442d1: [CUDA][HIP] Fix template static member (#98544)

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu Jul 11 18:54:50 PDT 2024


  Branch: refs/heads/users/yxsamliu/should-emit-var
  Home:   https://github.com/llvm/llvm-project
  Commit: 3442d12b865a47fd6e604794f0b962a5956663e1
      https://github.com/llvm/llvm-project/commit/3442d12b865a47fd6e604794f0b962a5956663e1
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2024-07-11 (Thu, 11 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 (#98544)

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