[compiler-rt] [llvm] [compiler-rt] Rework profile data handling for GPU targets (PR #187136)
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 26 08:02:33 PDT 2026
================
@@ -1953,10 +1959,6 @@ void InstrLowerer::emitNameData() {
NamesVar = new GlobalVariable(M, NamesVal->getType(), true,
GlobalValue::PrivateLinkage, NamesVal,
getInstrProfNamesVarName());
- if (isGPUProfTarget(M)) {
----------------
yxsamliu wrote:
I forgot my change to make some profile variables to have linkonce_odr linkage is in my PR. So in this PR they are all private linkage so it does not matter. Then it is OK to remove them for now.
https://github.com/llvm/llvm-project/pull/187136
More information about the llvm-commits
mailing list