<div dir="ltr">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><br>I'll leave it up to Adrian.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 17, 2016 at 9:43 AM Victor Leschuk <<a href="mailto:vleschuk@accesssoftek.com">vleschuk@accesssoftek.com</a>> wrote:<br></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>