[PATCH] D114533: LLVM IR should allow bitcast between address spaces with the same size.

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 24 07:06:48 PST 2021


lebedev.ri added a comment.

In D114533#3151423 <https://reviews.llvm.org/D114533#3151423>, @arsenm wrote:

> Patch description should include this avoids a need to introduce ptrtoint/inttoptr pairs

That is a good point, but all the motivational cases seem to be about chaining the address space of the pointee pointer.
Does this come up for changing the address space of the pointer itself? I'm just wondering if this is still relevant with opaque pointers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114533/new/

https://reviews.llvm.org/D114533



More information about the cfe-commits mailing list