[PATCH] D12341: add llvm.unpredictable intrinsic and lower it to metadata
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 13:46:26 PDT 2015
kparzysz added a comment.
In http://reviews.llvm.org/D12341#234428, @hfinkel wrote:
> Meaning that we have metadata, that instead of counting the number of relative branches, counts the relative number of mispredicated branches (or predicted branches). Thoughts?
The number of times the branch changed directions and (divided by?) the number of times it was executed sounds ok. Do we want to differentiate between AAAAABAB and AABBAABB (which this scheme won't)?
http://reviews.llvm.org/D12341
More information about the llvm-commits
mailing list