[LLVMdev] Creating a GEP instruction.
eli.friedman at gmail.com
Sun Apr 25 22:16:17 PDT 2010
On Sun, Apr 25, 2010 at 8:37 PM, Rohith Goparaju <rgoparaj at umail.iu.edu> wrote:
> Thanks. The problem i'm facing is i want to get the address of the first
> element of an array and i have also tried using the createInBoundsGEP which
> takes the base pointer and the index value and a name. When i try passing
> '0' as the index im running into problems.
Are you sure you're passing the right indices? See
More information about the llvm-dev