<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 6, 2008, at 3:24 PM, Dan Gohman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">Author: djg<br>Date: Thu Mar  6 17:24:19 2008<br>New Revision: 48004<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=48004&view=rev">http://llvm.org/viewvc/llvm-project?rev=48004&view=rev</a><br>Log:<br>Remove the code that restricted integer types to 1, 8, 16, 32, and 64, now<br>that llvm codegen supports i128 well enough to get through the llvm-gcc build.<br></span></blockquote></div><br><div>Does this mean now it is possible to have bit-field larger then 64 bits ? If so then we have hardcoded that limit in couple of places...</div><div><br class="webkit-block-placeholder"></div><div>llvm-types.cpp</div><div><br class="webkit-block-placeholder"></div><div><div>1544     NewFieldTy = Type::Int32Ty;</div><div>1545   else {</div><div>1546     assert(Size <= 64 && "Bitfield too large!");</div><div>1547     NewFieldTy = Type::Int64Ty;</div><div>1548   }</div><div><br class="webkit-block-placeholder"></div><div><div>1871     if (NumBitsRequired > 64) {</div><div>1872       // Use bits from previous field.</div><div>1873       NumBitsRequired = FieldSizeInBits - AvailableBits;</div><div>1874     } else {</div><div><br class="webkit-block-placeholder"></div><div>-</div><div>Devang</div></div></div></body></html>