[llvm] [IPSCCP] Don't replace with constant if Value is noalias ptr or derivatives (PR #154522)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 26 09:15:42 PDT 2025


https://github.com/nikic commented:

Is it possible to create a PhaseOrdering test that shows this causes end-to-end optimization issues? Just losing noalias metadata by itself may not be a problem, as accesses on globals have better analysis capabilities than random pointers (especially with GlobalsAA in use).

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


More information about the llvm-commits mailing list