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

Justin Holewinski justin.holewinski at gmail.com
Thu Nov 15 17:23:11 PST 2012


I forgot to mention that what I'm looking for is a quick go/no-go on this
change, since I've never touched the parser before.  It's probably a good
candidate for 3.2 too, since it's an easily reproducible bug.


On Thu, Nov 15, 2012 at 1:20 PM, Justin Holewinski <
justin.holewinski at gmail.com> wrote:

> 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
>
>


-- 

Thanks,

Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121115/494d7b6b/attachment.html>


More information about the llvm-commits mailing list