[llvm] [Value] Look through inttoptr (add ..) in accumulateConstantOffsets (PR #124981)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 12:44:04 PST 2025
https://github.com/nikic requested changes to this pull request.
This is valid for this particular icmp transform, but generally users of stripAndAccumulateConstantOffsets will assume that the result still has the same provenance, which is not the case if you look through inttoptr. This needs to be behind a flag.
https://github.com/llvm/llvm-project/pull/124981
More information about the llvm-commits
mailing list