[PATCH] D10674: Value profiling - patchset 3

Betul Buyukkurt via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 12:47:01 PDT 2015


betulb added a comment.

> 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.


Done.

Thanks,
-Betul

> http://reviews.llvm.org/D10674



http://reviews.llvm.org/D10674





More information about the llvm-commits mailing list