ForEach: No IntToPtr casts for ptr kernel inputs

Instead we replace the calculation of the pointer offsets with an explicit
getElementPointer instruction.

Change-Id: I95bedfa1b17b839a122548f4d855d6ec40c7467b
1 file changed