[PATCH] D16935: [PGO] Indirect-call profile annotation in IR level
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 14:53:03 PST 2016
davidxl added inline comments.
================
Comment at: lib/Transforms/Instrumentation/PGOInstrumentation.cpp:469
@@ +468,3 @@
+ // ProfileRecord for this function.
+ InstrProfRecord ProfileRecords;
+
----------------
nit: ProfileRecords --> ProfileRecord
================
Comment at: lib/Transforms/Instrumentation/PGOInstrumentation.cpp:571
@@ -561,3 +570,3 @@
auto &Ctx = M->getContext();
- ErrorOr<InstrProfRecord> Result =
+ ErrorOr<InstrProfRecord> Records =
PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash);
----------------
Seems a unnecessary change.
http://reviews.llvm.org/D16935
More information about the llvm-commits
mailing list