[llvm] [InferAS] Infer the address space of inttoptr (PR #173244)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 11 04:49:21 PST 2026


nikic wrote:

Sorry, my comment was unclear. I was not suggesting to change anything in LLVM (the transform is illegal for LLVM to perform), but to change your *frontend* to not generate ptrtoint/inttoptr and instead use a provenance (and addrspace) preserving instruction sequence.

https://github.com/llvm/llvm-project/pull/173244


More information about the llvm-commits mailing list