[PATCH] D10674: Value profiling - patchset 3
David Li via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 29 11:03:06 PDT 2015
davidxl added a comment.
This version looks fine to me.
================
Comment at: lib/ProfileData/InstrProfReader.cpp:341
@@ +340,3 @@
+ uint64_t NumTaken = endian::readNext<uint64_t, little, unaligned>(D);
+ if (ValueKind == instrprof_value_kind::indirect_call_target) {
+ auto Result = HashKeyMap.find(Value);
----------------
Make it into an assert for now.
http://reviews.llvm.org/D10674
More information about the llvm-commits
mailing list