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

Luo Yuanke via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 15 04:37:51 PST 2026


================

----------------
LuoYuanke wrote:

For pre-population step it should cost little effort to handle inttoptr instruction by scanning each instruction, but for constant expression we may collect all the pointer operand as `collectFlatAddressExpressions()` does. Given constant expression have another issue on inferring address space (https://github.com/llvm/llvm-project/pull/177809), how about just handle instruction in pre-population step first?

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


More information about the llvm-commits mailing list