[LLVMdev] Address space extension

Matt Arsenault Matthew.Arsenault at amd.com
Wed Aug 7 14:37:36 PDT 2013


On 08/07/2013 02:34 PM, Pete Cooper wrote:
> !address_spaces = !{!0, !1, !2, !3}
>
> ; Address space tuple.  { address space number, parent address space, 
> additional properties }
> !0 = metadata !{ i32 0, !{}, !{} }
> !1 = metadata !{ i32 1, !0, !{} }
> !2 = metadata !{ i32 2, !0, !{} }
> !3 = metadata !{ i32 3, !0, !4 }
>
> !4 = metadata !{ “constant” }
>
>
> This corresponds to 3 address spaces which all are members of address 
> space 0, but which otherwise do not alias each other.  I think this is 
> roughly how TBAA does things.  You can introduce any nodes in the tree 
> of address spaces you need to make children in the tree alias each other.
>
>

I like that approach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130807/901acea4/attachment.html>


More information about the llvm-dev mailing list