[all-commits] [llvm/llvm-project] 92dde7: [CIR] Add addLLVMUsed and addLLVMCompilerUsed meth...
Chaitanya via All-commits
all-commits at lists.llvm.org
Mon Apr 13 21:28:28 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 92dde7997192c40841e50f51c25f8ecf598f2a6d
https://github.com/llvm/llvm-project/commit/92dde7997192c40841e50f51c25f8ecf598f2a6d
Author: Chaitanya <Krishna.Sankisa at amd.com>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
A clang/test/CIR/CodeGen/attr-retain.c
A clang/test/CIR/CodeGen/attr-used.c
A clang/test/CIR/CodeGen/keep-persistent-storage-variables.cpp
A clang/test/CIR/CodeGen/keep-static-consts.cpp
A clang/test/CIR/CodeGenHIP/hip-cuid.hip
Log Message:
-----------
[CIR] Add addLLVMUsed and addLLVMCompilerUsed methods to CIRGenModule (#188189)
Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2092
This PR adds support for emitting llvm.used and llvm.compiler.used
global arrays in CIR.
Added addUsedGlobal() and addCompilerUsedGlobal() methods to
CIRGenModule
Adds __hip_cuid_* to llvm.compiler.used for HIP compilation.
Followed OGCG implementation in clang/lib/CodeGen/CodeGenModule.cpp
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