[llvm] [DA] do not handle GEPs with different types (PR #144088)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 13 09:36:52 PDT 2025


https://github.com/kasuga-fj commented:

IIUIC, the problem here is the delinearization process that relies on the GEP source element type rather than the gap between two GEPs. That is, we should stop using `llvm::tryDelinearizeFixedSizeImpl`. As I tried, simply removing the call of it led to regressions in some tests. Some of these failures seem to occur due to the failure of delinearization that should theoretically be possible. I believe the correct approach is to improve the `DependenceInfo::tryDelinearizeParametricSize` or `llvm::delinearization` at first, then proceed to delete `DependenceInfo::tryDelinearizeFixedSize`. 

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


More information about the llvm-commits mailing list