[llvm] [InstCombine] Make foldCmpLoadFromIndexedGlobal more resiliant to non-array geps. (PR #150639)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 26 01:41:09 PDT 2025
https://github.com/dtcxzyw approved this pull request.
LG. It looks like we are still far from the type-independent solution. I think this patch may be a simple mitigation. As for regressions caused by this patch, we may avoid emitting multiple icmps when the load has other users.
https://github.com/llvm/llvm-project/pull/150639
More information about the llvm-commits
mailing list