<div class="gmail_quote">On Mon, Oct 17, 2011 at 12:32 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This patch teaches the BranchProbabilityInfo pass to use metadata encoded probabilities when present on branch instructions. Switch instructions still need to be handled.</blockquote><div><br></div><div>And here is a patch which generalizes this logic to support switch instructions. It should be applied on top of the previous patch.</div>
<div><br></div><div>BTW, Chris mentioned an interest in getting this fixed and potentially merged onto the 3.0 release branch, so prompt review would be appreciated. =] </div></div>