Displaying 2 results from an estimated 2 matches for "03fb2ba0".
2011 Dec 13
0
[LLVMdev] GetElementPtr
...gine cases where it would. Struct indexes, on the other hand, must be constant and non-negative, so the choice of index width doesn't matter.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111212/03fb2ba0/attachment.html>
2011 Dec 13
6
[LLVMdev] GetElementPtr
By LLVM do you mean the backend? I'm not using the backend, so is that i32
on the 0 index the type of the index value or the type of the value to
which exists at that index?
it seems the pointer itself has no width, it's arbitrary and is handled in
the lowering and is target dependent on the bus width.
Basically, when I am computing offset I need to know the sizes for add. The
size of