[llvm] [GlobalOpt] Look through non-PointerType constant expressions. (PR #125205)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 31 03:57:44 PST 2025
https://github.com/nikic commented:
I don't think this is safe. We generally cannot analyze past a ptrtoint cast due to its provenance exposure side effect.
Why does your change result in this ptrtoint+add+inttoptr arithmetic being introduced in the first place?
https://github.com/llvm/llvm-project/pull/125205
More information about the llvm-commits
mailing list