[PATCH] D72941: Handle ptrtoint in InferAddressSpace
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 15:37:14 PST 2020
arsenm added a comment.
In D72941#1832580 <https://reviews.llvm.org/D72941#1832580>, @gangche1 wrote:
> What if I add another query in TTI, check if an address space has the same bit-pattern as the flat-address, then handle the ptrtoint with this extra condition?
What is the problem you are really trying to solve? There's already a isNoopAddrspaceCast hook
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72941/new/
https://reviews.llvm.org/D72941
More information about the llvm-commits
mailing list