[cfe-dev] Bitcode generation - GetElementPtr and inbounds attribute

Kuchta, Tomasz t.kuchta12 at imperial.ac.uk
Fri Feb 21 03:28:59 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?

If this is a wrong list – please kindly let me know.
Thank you in advance for help,

Best regards
Tomek Kuchta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140221/5c7afba2/attachment.html>


More information about the cfe-dev mailing list