[PATCH] D19433: [PGO] change the interface for createPGOFuncNameMetadata()

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 14:01:04 PDT 2016


davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.

lgtm


================
Comment at: lib/Transforms/Instrumentation/PGOInstrumentation.cpp:735
@@ -734,3 +734,3 @@
   // Create the PGOFuncName meta data.
-  createPGOFuncNameMetadata(F);
+  createPGOFuncNameMetadata(F, FuncInfo.FuncName);
 
----------------
I suggest changing FuncInfo.FuncName to FuncInfo.PGOFuncName for clarity, but that can be done later.


http://reviews.llvm.org/D19433





More information about the llvm-commits mailing list