[PATCH] D72941: Handle ptrtoint in InferAddressSpace

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 16:13:13 PST 2020


arsenm added a comment.

In D72941#1832619 <https://reviews.llvm.org/D72941#1832619>, @gangche1 wrote:

> isNoopAddrspaceCast is what I am looking for.  Could I use that in this InferAddressSpace pass to get rid of  a NoopAddrSpaceCast that is used by ptrtoint?


Maybe, but I'm wondering why you have noop addrspacecasts in the first place. This seems like a problem you shouldn't have to solve


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

https://reviews.llvm.org/D72941





More information about the llvm-commits mailing list