[all-commits] [llvm/llvm-project] 960a21: [ctx_prof] Remove the dependency on the "name" Glo...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Fri Aug 23 10:32:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 960a210b1f22f74ba32a04acbb5d3134d4443839
https://github.com/llvm/llvm-project/commit/960a210b1f22f74ba32a04acbb5d3134d4443839
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-08-23 (Fri, 23 Aug 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/test/Transforms/PGOProfile/ctx-instrumentation.ll
M llvm/test/Transforms/PGOProfile/ctx-prof-use-prelink.ll
Log Message:
-----------
[ctx_prof] Remove the dependency on the "name" GlobalVariable (#105731)
We don't need that name variable for contextual instrumentation, we just
use the function to get its GUID which we pass to the runtime, and rely
on metadata to capture it through the various optimization passes. This
change removes the need for the name global variable.
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