[LLVMdev] Moving towards a singular pointer type

Sanjoy Das sanjoy at playingwithpointers.com
Fri Feb 6 16:24:28 PST 2015


> The difference is that %x would be just a generic pointer type, but the type
> would still need to be supplied as an argument to the GEP / load / store.
>
> %inner.ptr = getelementptr i8**, %x, i32 1
>
> You could think of it as having an implicit bitcast on every pointer
> operation.

That makes a lot of sense, thanks!

-- Sanjoy



More information about the llvm-dev mailing list