[PATCH] D16015: [PGO] Create the profile data variable before the lowering
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 8 15:29:05 PST 2016
davidxl added inline comments.
================
Comment at: lib/Transforms/Instrumentation/InstrProfiling.cpp:155
@@ +154,3 @@
+ bool CounterVarSet = false;
+ for (BasicBlock &BB : F) {
+ if (CounterVarSet) break;
----------------
Why not fuse this loop with the above one?
http://reviews.llvm.org/D16015
More information about the llvm-commits
mailing list