[llvm] [GlobalISel] Avoid redundant copy for zero-offset GEPs (PR #203029)
Cullen Rhodes via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 11 02:13:26 PDT 2026
c-rhodes wrote:
> 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)
it's a fair point and I haven't looked into it but I still think this makes sense
https://github.com/llvm/llvm-project/pull/203029
More information about the llvm-commits
mailing list