<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 18, 2016, at 3:36 PM, Mehdi Amini <<a href="mailto:mehdi.amini@apple.com" class="">mehdi.amini@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">I haven’t looked at profiles so I have no idea: do we have some good reasons to chose one size or another for an APIInt at each uses? </div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">I mean will this be “statistic driven” (like in practice SCEV ends-up mostly with 65bits while constant ranges between 128 and 256 or something like that?</div></div></blockquote></div><br class=""><div class="">Here’s a patch I had from a while ago.  It generates a list of bit widths for constant ranges and counts of those bit widths.  You can choose which to sort by with a boolean in the code.</div><div class=""><br class=""></div><div class=""></div></body></html>