search for: adec292d

Displaying 2 results from an estimated 2 matches for "adec292d".

2017 Jul 06
2
GEP with a null pointer base
...ple times and sees code after being transformed. I see this as pretty similar to the analogous hacks we do to support broken offsetof idioms. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170706/adec292d/attachment.html>
2017 Jul 06
5
GEP with a null pointer base
Hi everyone, I've got a problem that I would like some input on. The problem basically boils down to a program that I am compiling, whose source I don't control, doing something like this: p = (char*)0 + n where 'n' is an intptr_t-sized value that the program knows is actually a valid address for a pointer. clang translates this as %p = getelementptr inbounds i8, i8*