Displaying 2 results from an estimated 2 matches for "inbytes".
Did you mean:
in_bytes
2017 May 22
2
How exactly is datatype alignment determined?
...gnment that was passed to
setAlignment, not the bit alignment from the string.
// ABI alignment.
if (Rest.empty())
report_fatal_error(
"Missing alignment specification in datalayout string");
Split = split(Rest, ':');
unsigned ABIAlign = inBytes(getInt(Tok));
~Craig
On Mon, May 22, 2017 at 10:12 AM, 陳韋任 via llvm-dev <llvm-dev at lists.llvm.org>
wrote:
> Would http://llvm.org/docs/LangRef.html#langref-datalayout be help?
>
> - chenwj
>
> 2017-05-22 23:26 GMT+08:00 Dr. ERDI Gergo via llvm-dev <
> llvm-dev at li...
2017 May 22
2
How exactly is datatype alignment determined?
On Mon, 22 May 2017, Dr. ERDI Gergo wrote:
> Actually, tracking down the sequence of function calls, it turns out that '8'
> is ultimately coming from the following call in DataLayout::getAlignment:
>
> getAlignmentInfo(AGGREGATE_ALIGN, 0, abi_or_pref, Ty);
>
> this seems to return 8 with the following datalayout string:
>
>