[LLVMdev] Moving towards a singular pointer type

Sean Silva chisophugis at gmail.com
Fri Feb 6 16:19:43 PST 2015


On Fri, Feb 6, 2015 at 4:12 PM, Sanjoy Das <sanjoy at playingwithpointers.com>
wrote:

> How would GEP's look like in this scheme?  Concretely, what would be
> the equivalent of
>
> %inner.ptr = getelementptr i8** %x, i32 1
>
> assuming we're doing target independent optimizations and do not know
> the size of a pointer?
>
>
Haven't we been moving towards always having at least some basic target
information like datalayout and such (which includes pointer size)?

-- Sean Silva


> -- Sanjoy
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150206/cc99c8d6/attachment.html>


More information about the llvm-dev mailing list