[llvm-commits] [PATCH] Teach the MergeGlobals pass to handle non-default address spaces

Silviu Baranga silbar01 at arm.com
Mon Jan 7 02:25:54 PST 2013


Hi,

The MergeGlobals pass crashes when trying to handle globals with a
non-default
address space. The attached patch fixes this by only merging globals that
have the same address space and by preserving the address space after the
merge.

Please review!

Thanks,
Silviu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paddrspace.diff
Type: application/octet-stream
Size: 4340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130107/57115363/attachment.obj>


More information about the llvm-commits mailing list