<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;}</style>
</head>
<body ocsi="0" fpstyle="1">
<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>
</body>
</html>