XCore: XCoreLowerThreadLocal improvements

Robert Lytton robert at xmos.com
Thu Aug 15 04:44:03 PDT 2013


Hi,

Here is a patch that fixes a bug in the XCore target.
The XCoreLowerThreadLocal tries to initialise globals which have no initializer.

I have also added handling of const expressions containing thread local variables
These need to be replaced with instructions, as the thread ID is used to access the thread local variable.

Robert

________________________________
From: Robert Lytton
Sent: 12 August 2013 13:14
To: llvm-commits at cs.uiuc.edu
Subject: XCoreLowerThreadLocal tries to initialise globals which have no initializer

Hi,

Here is a patch that fixes a bug in the XCore target.
The XCoreLowerThreadLocal tries to initialise globals which have no initializer.

Robert


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130815/c3a2bd77/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PatchThreadLocal
Type: application/octet-stream
Size: 10061 bytes
Desc: PatchThreadLocal
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130815/c3a2bd77/attachment.obj>


More information about the llvm-commits mailing list