<div dir="ltr"><a href="http://llvm-reviews.chandlerc.com/D335">http://llvm-reviews.chandlerc.com/D335</a><br><div><br></div><div style>Small patch to (hopefully) clarify what the parameters mean (width/cost) from the std::pair<>'s first/second approach.</div>
<div style><br></div><div style>There's also a potentially problematic (and wrong) change by the end. I'm assuming the cost we want to return is the cost of the cheapest width multiplied by the width where that cost was calculated, not by the maximum width.</div>
<div style><br></div><div style>It's possible that this was never a problem, if on all tests, the maximum width is the one always returned (in which case, Width == VF).</div><div style><br></div><div style>cheers,</div>
<div style>--renato</div></div>