[LLVMdev] GetElementPtr and inbounds attribute

Kuchta, Tomasz t.kuchta12 at imperial.ac.uk
Sat Feb 15 00:09:08 PST 2014


Hello,

I would like to ask about GetElementPtr instruction in the context of bit code generation.
Is there a rule, based on which pointer access is generated as getelementptr inbounds instruction?
I’m especially interested in how it is decided when the instruction should have the inbounds attribute.
Is it on malloced vs static basis?

Thank you in advance for help,

Best regards
Tomek Kuchta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140215/4e369b40/attachment.html>


More information about the llvm-dev mailing list