[llvm] [GlobalOpt] Look through non-PointerType constant expressions. (PR #125205)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 17:44:46 PST 2025


efriedma-quic wrote:

My primary concern here would be that the result of the inttoptr might point to a different global.  That isn't relevant in the context of an icmp (icmp ignores provenance anyway), but could be relevant in other contexts.

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


More information about the llvm-commits mailing list