[all-commits] [llvm/llvm-project] 785235: [CSSPGO] Do not use getCanonicalFnName in pseudo p...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Tue Aug 10 18:27:17 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78523516bc2a05a6467a7bcfd2ab04bb343d4797
https://github.com/llvm/llvm-project/commit/78523516bc2a05a6467a7bcfd2ab04bb343d4797
Author: Hongtao Yu <hoy at fb.com>
Date: 2021-08-10 (Tue, 10 Aug 2021)
Changed paths:
M llvm/lib/MC/CMakeLists.txt
M llvm/lib/MC/MCPseudoProbe.cpp
Log Message:
-----------
[CSSPGO] Do not use getCanonicalFnName in pseudo probe descriptor decoding
Pseudo probe descriptors are created very early in the pipeline where function names just come from the front end and are not yet decorated. So calling getCanonicalFnName on the function names in probe desc is basically a no-op, which also addes a depenency from MC to ProfileData unnessesarily.
Reviewed By: wenlei, wlei
Differential Revision: https://reviews.llvm.org/D107838
More information about the All-commits
mailing list