[all-commits] [llvm/llvm-project] f9f3d0: [ctx_prof] Remove the dependency on the "name" Glo...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Thu Aug 22 13:50:58 PDT 2024
Branch: refs/heads/users/mtrofin/08-22-_ctx_prof_remove_the_dependency_on_the_name_globalvariable
Home: https://github.com/llvm/llvm-project
Commit: f9f3d0848e9cc0d15f212096af2eb15de8df81dd
https://github.com/llvm/llvm-project/commit/f9f3d0848e9cc0d15f212096af2eb15de8df81dd
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-08-22 (Thu, 22 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
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