[llvm-commits] [PATCH] Preserve address space in forward-referenced global variables

Justin Holewinski justin.holewinski at gmail.com
Thu Nov 15 10:20:31 PST 2012


This patch fixes an issue in the LL parser where address space specifiers
on global variables were not preserved if the variable was forward
references.  This makes the following IR parseable:

@a2 = global i8 addrspace(1)* @a
@a = addrspace(1) global i8 0

-- 

Thanks,

Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121115/aa83f754/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Preserve-address-space-of-forward-referenced-global-.patch
Type: application/octet-stream
Size: 2007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121115/aa83f754/attachment.obj>


More information about the llvm-commits mailing list