[llvm] [polly] [delinearize] Extract array dimensions from alloca and global declarations (PR #156342)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 3 03:59:37 PDT 2025


kasuga-fj wrote:

> > I've long wondered, why are you so particular about array type information? A delinearization function without relying on type information has already been landed (#145050). Isn't it insufficient?
> 
> Yes, it is insufficient. Please see my ask to enable that code in all places where we call delinearize [#145050 (comment)](https://github.com/llvm/llvm-project/pull/145050#discussion_r2171207764)

I'll answer your question here.

> Why are you not enabling fixedSizeArray delinearization method on all other places?

I intended to replace the use of GEP-dependent functions with that later. I just have not gotten around to it yet. Since I figured it would be quicker to just show my thought, I created a draft PR https://github.com/llvm/llvm-project/pull/161822. What I meant by my question was: is this direction not sufficient for your needs?

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


More information about the llvm-commits mailing list