search for: getintrptrconst

Displaying 1 result from an estimated 1 matches for "getintrptrconst".

2012 Aug 17
2
[LLVMdev] RFC: Supporting different sized address space arithmetic
...takes an address space as the second argument * Modify the implementation of the original getIntPtrConstant function to call the new function with getDefaultAddressSpace(). Modify SelectionDAGBuilder::visitGetElementPtr to get the address space of pointer argument and passing it into the getIntrPtrConstant and getPointerTy calls. As far as I can tell, this should not affect any backends behavior, but will allow the targets with disjoint address spaces to directly address them in the most efficient manner. So, what do you think? Is this the correct approach? Or does it actually require more funda...