[all-commits] [llvm/llvm-project] fa11d1: [CUDA][HIP][NFC] add CodeGenModule::shouldEmitCUDA...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu Jul 11 14:15:17 PDT 2024


  Branch: refs/heads/users/yxsamliu/should-emit-var
  Home:   https://github.com/llvm/llvm-project
  Commit: fa11d1781b0826b9c64b65e6536fd9680a8f0496
      https://github.com/llvm/llvm-project/commit/fa11d1781b0826b9c64b65e6536fd9680a8f0496
  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
    M clang/lib/CodeGen/CodeGenModule.h

  Log Message:
  -----------
  [CUDA][HIP][NFC] add CodeGenModule::shouldEmitCUDAGlobalVar

Extract the logic whether to emit a global var based on CUDA/HIP host/device related
attributes to CodeGenModule::shouldEmitCUDAGlobalVar to be used by other places.



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