[llvm] [InferAS] Infer the address space of inttoptr (PR #173244)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 12 08:59:01 PST 2026
================
----------------
shiltian wrote:
If this function is going to modify the class, why did you mark it as `const` and then add `mutable` to a data member in the first place? To me, the unnecessary existence of `mutable` implies a not-well-designed interface.
We can still cache the result in this function, but then it should not be a `const`.
https://github.com/llvm/llvm-project/pull/173244
More information about the llvm-commits
mailing list