<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I'm fine with using uint32_t here, since it is more readable and it accurately represents the number of bits available to encode this in the bitcode.<div class=""><br class=""></div><div class="">-- adrian<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 17, 2016, at 9:53 AM, David Blaikie <<a href="mailto:dblaikie@gmail.com" class="">dblaikie@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Pretty sure a bunch of other stuff in LLVM would break if it were built on such a platform, but I'm not sure if we have an explicit agreement that certain properties like unsigned being 32 bits are required for LLVM.<br class=""><br class="">I'll leave it up to Adrian.</div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Oct 17, 2016 at 9:43 AM Victor Leschuk <<a href="mailto:vleschuk@accesssoftek.com" class="">vleschuk@accesssoftek.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">vleschuk added a comment.<br class="gmail_msg">
<br class="gmail_msg">
In <a href="https://reviews.llvm.org/D25620#571724" rel="noreferrer" class="gmail_msg" target="_blank">https://reviews.llvm.org/D25620#571724</a>, @aprantl wrote:<br class="gmail_msg">
<br class="gmail_msg">
> After letting this sit for a few days, I think that using an unsigned (there doesn't seem to be much precedent for uint32_t) is the way to go. It's more readable than an opaque DIAlignment type (whose size isn't obvious from the name).<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
What about platforms where sizeof(unsigned) could be 2, standard does allow that, I'd rather use cstdint types.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<a href="https://reviews.llvm.org/D25620" rel="noreferrer" class="gmail_msg" target="_blank">https://reviews.llvm.org/D25620</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>