[llvm] [InstCombine] Make foldCmpLoadFromIndexedGlobal more resiliant to non-array geps. (PR #150639)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 10:16:31 PDT 2025
dtcxzyw wrote:
> but I figured the structs can be removed from the geps and that gets us closer to where we want to be.
Yeah, we plan to strip leading zero indices. Then we can see if it breaks some existing transforms that only work with array source element types.
https://github.com/llvm/llvm-project/pull/150639
More information about the llvm-commits
mailing list