[PATCH] D18624: [PGO] PGOFuncName meta data if PGOFuncName is different from function's raw name.
David Li via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 15:04:23 PDT 2016
davidxl added inline comments.
================
Comment at: lib/CodeGen/CodeGenPGO.cpp:47
@@ +46,3 @@
+ // Create PGOFuncName meta data.
+ if (!llvm::getPGOFuncNameMetadata(*Fn))
+ llvm::createPGOFuncNameMetadata(*Fn);
----------------
This check be folded into the creator. The creator interface name also needs to be changed properly (created when needed)
http://reviews.llvm.org/D18624
More information about the cfe-commits
mailing list