[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
arsenm2 at gmail.com
Fri Mar 7 11:35:31 PST 2014
On Mar 7, 2014, at 11:18 AM, Chandler Carruth <chandlerc at gmail.com> wrote:
> 1) I don't understand why we don't allow bitcasting between address spaces when they are the same size. We have the datalayout embedded in the module, we should be able to verify this, etc etc. Breaking the same-size "as if" semantics of bitcast seems a pointless limitation.
Pointers with different address spaces may have different representations and could need a nontrivial transformation between them.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits