<div dir="ltr"><div>Looks like it's dead:</div><div><br></div><div>void DataLayout::parseSpecifier(StringRef Desc) {</div><div> ...</div><div> switch (Specifier) {</div><div> case 's':</div><div> // Ignored for backward compatibility.</div><div> // FIXME: remove this on LLVM 4.0.</div><div> break;</div><div> case 'E':</div><div> BigEndian = true;</div><div> break;</div><div> case 'e':</div><div> BigEndian = false;</div><div> break;</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 31, 2014 at 3:42 PM, reed kotler <span dir="ltr"><<a href="mailto:rkotler@mips.com" target="_blank">rkotler@mips.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
in the language reference manual there is no definition for the
prefix "s" (only for large "S" which has to do with the stack).<br>
<br>
<span>BTW for x86, I get
<br>
s0:64:64<br>
<br>
Not sure what this means.<br>
<br>
</span>The form:<br>
<span>i<size>:<abi>:<pref><br>
<br>
Seems to mean that llvm type i<size> and then abi == the
number of bits.<br>
<br>
what is the acronym here for abi or does this mean that the ABI
specified size?<br>
<br>
for "a", the definition is <br>
</span><br>
<span>a:<abi>:<pref><br>
<br>
But if I compile a program with x86 on a 64 bit machine I get:<br>
<br>
a0:0:64<br>
<br>
So this means that as long as the number of bits is greater than
0, the alignment is 64.<br>
0 is like a wildcard in this case and the <abi> field is not
relevant?<br>
<br>
In any case, the syntax is incorrect since there is no size field.<br>
<br>
BTW, it seems that S0 means the natural alignment is unspecified,
which not in the document.<br>
Also, the absence of S means unspecified also.<br>
<br>
Tia.<span class="HOEnZb"><font color="#888888"><br>
<br>
Reed<br>
<br>
</font></span></span>
</div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>