[PATCH] D30633: [BPI] Reduce the probability of unreachable edge to minimal value greater than 0
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 10:55:31 PDT 2017
chandlerc added a comment.
In https://reviews.llvm.org/D30633#756320, @dexonsmith wrote:
> As an aside, it seems the logic around unreachable (with and without the patch) might pessimize code paths that lead to `noreturn` functions, such as `posix_spawn()`. Is that really what we want? Why?
Heh, I thought about bringing this up, but it really seems orthogonal and something I wanted to look at.
Yeah, generally, the unreachable logic I wrote eons ago was dead wrong and this is still wrong in the case of nice "run forever" functions. I'll either send a patch or file a bug about this.
https://reviews.llvm.org/D30633
More information about the llvm-commits
mailing list