[compiler-rt] [llvm] [compiler-rt] Rework profile data handling for GPU targets (PR #187136)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 06:50:40 PDT 2026


================
@@ -1815,10 +1819,6 @@ void InstrLowerer::createDataVariable(InstrProfCntrInstBase *Inc) {
   for (uint32_t Kind = IPVK_First; Kind <= IPVK_Last; ++Kind)
     Int16ArrayVals[Kind] = ConstantInt::get(Int16Ty, PD.NumValueSites[Kind]);
 
-  if (isGPUProfTarget(M)) {
----------------
jhuber6 wrote:

Done

https://github.com/llvm/llvm-project/pull/187136


More information about the llvm-commits mailing list