[llvm] [GlobalISel] Avoid redundant copy for zero-offset GEPs (PR #203029)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 09:02:17 PDT 2026


https://github.com/aengelke commented:

Where do these come from? Can we fold such GEPs in the IRBuilder folder to prevent them from being emitted by Clang in the first place? (Is there already some precedent for things like this? cc @nikic)

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


More information about the llvm-commits mailing list