[PATCH] D72941: Handle ptrtoint in InferAddressSpace
Michael Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 22:53:06 PST 2020
hliao added a comment.
`inttoptr` and `ptrtoint` should be treated as opaque ones. If needed, they should be handled with target-specific. This pass is definitely not the place to handle them.
In D72941#1827075 <https://reviews.llvm.org/D72941#1827075>, @gangche1 wrote:
> We see in our IR that has addrspacecast before ptrtoint, which requires this optimization. Therefore suggest to add the handling of ptrtoint.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72941/new/
https://reviews.llvm.org/D72941
More information about the llvm-commits
mailing list