[PATCH] D27830: Preserve loop metadata when folding branches to a common destination

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 16:29:57 PST 2016


danielcdh added a comment.

In https://reviews.llvm.org/D27830#624550, @mkuper wrote:

> In https://reviews.llvm.org/D27830#624538, @danielcdh wrote:
>
> > Optional: while you are at it, it'll be very useful to handle the MD_prof here for branch probability. (e.g. when PBI has no MD_prof while BI has, or like the case described in TODO comment).
>
>
> I'm a bit confused, I thought merging MD_prof is what the code directly above this does.


You are right, it's already done, I did not look above.


https://reviews.llvm.org/D27830





More information about the llvm-commits mailing list