<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Ping!<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF156481"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Robert Lytton<br>
<b>Sent:</b> 21 October 2013 10:17<br>
<b>To:</b> cfe-commits@cs.uiuc.edu<br>
<b>Subject:</b> RE: XCore target, getPreferredTypeAlign() *MUST* return preferred alignment.<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi<br>
Is this good to go?<br>
Thank you.<br>
Robert
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF389640" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> cfe-commits-bounces@cs.uiuc.edu [cfe-commits-bounces@cs.uiuc.edu] on behalf of Robert Lytton [robert@xmos.com]<br>
<b>Sent:</b> 16 October 2013 17:03<br>
<b>To:</b> cfe-commits@cs.uiuc.edu<br>
<b>Subject:</b> RE: XCore target, getPreferredTypeAlign() *MUST* return preferred alignment.<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi<br>
<br>
I've moved the _Static_assert tests from test/Driver/xcore-opts.c into test/CodeGen/xcore-abi.c.<br>
Is the patch good to go?<br>
<br>
Robert<br>
<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF654787" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> cfe-commits-bounces@cs.uiuc.edu [cfe-commits-bounces@cs.uiuc.edu] on behalf of Robert Lytton [robert@xmos.com]<br>
<b>Sent:</b> 14 October 2013 13:33<br>
<b>To:</b> cfe-commits@cs.uiuc.edu<br>
<b>Subject:</b> XCore target, getPreferredTypeAlign() *MUST* return preferred alignment.<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi<br>
<br>
Here is a suggest patch to support the XCore target.<br>
<br>
This is required as the the xcore llvm backend does not handle 8 byte alignment viz:<br>
        %BadAlignment = alloca i64, align 8<br>
<br>
(llvm will reject the above as an error)<br>
<br>
<br>
The patch prevents the default behavior running:<br>
    /// getPreferredTypeAlign - Return the "preferred" alignment of the specified<br>
    /// type for the current target in bits.  This can be different than the ABI<br>
    /// alignment in cases where it is beneficial for performance to overalign<br>
    /// a data type.<br>
<br>
<br>
Robert<br>
<br>
<font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"></span></font>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>