[PATCH] SROA fix to avoid invalid bitcast generation when converting a load from a double pointer bitcasted with an address space change of the pointee pointee
michele.scandale at gmail.com
Fri Mar 7 13:21:46 PST 2014
On 03/07/2014 09:34 PM, Chandler Carruth wrote:
> On Fri, Mar 7, 2014 at 12:11 PM, Michele Scandale <michele.scandale at gmail.com
> <mailto:michele.scandale at gmail.com>> wrote:
> it should be equivalent to ptrtoint+inttoptr, picking an integer type of the
> same size of the pointers....
> I think it is much better to specify it the way it already is specified -- it is
> equivalent to storing and loading.
So you suggest to allow bitcast between pointer of different address spaces but
with the same size. Is is correct?
More information about the llvm-commits