[PATCH] Address Space Casting

David Chisnall David.Chisnall at cl.cam.ac.uk
Thu Sep 5 00:27:32 PDT 2013


On 4 Sep 2013, at 20:59, Eli Friedman <eli.friedman at gmail.com> wrote:

> Or it could have been a ptrtoint+inttoptr pair originally, which would get turned into a bitcast by instcombine.
> 
> I don't see what's wrong with the choice of turning such a bitcast back into a ptrtoint+inttoptr pair.

Yes, that's probably the best approach.  

David





More information about the llvm-commits mailing list