[PATCH] D129734: [InstCombine] Canonicalize GEP of GEP by swapping constant-indexed GEP to the front
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 11:55:09 PDT 2022
davidxl added a comment.
The example provided shows that there is a missing opportunity for CSE (of address computation of Vec[i]). The decision on GEP ordering should probably better be based on more general reassociation analysis for enabling more CSE/LICM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129734/new/
https://reviews.llvm.org/D129734
More information about the llvm-commits
mailing list