<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;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
Here is a patch that fixes a bug in the XCore target.<br>
The XCoreLowerThreadLocal tries to initialise globals which have no initializer.<br>
<br>
I have also added handling of const expressions containing thread local variables<br>
These need to be replaced with instructions, as the thread ID is used to access the thread local variable.<br>
<br>
Robert<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF350478"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Robert Lytton<br>
<b>Sent:</b> 12 August 2013 13:14<br>
<b>To:</b> llvm-commits@cs.uiuc.edu<br>
<b>Subject:</b> XCoreLowerThreadLocal tries to initialise globals which have no initializer<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,<br>
<br>
Here is a patch that fixes a bug in the XCore target.<br>
The XCoreLowerThreadLocal tries to initialise globals which have no initializer.<br>
<br>
Robert<br>
<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>