[llvm] [LoopIdiomVectorize] Recognize and transform minidx pattern (PR #144987)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 15 23:37:27 PDT 2025
https://github.com/fhahn commented:
> > It's my understanding that the GVN improvement brings this into a form that we can at least in principle vectorize, even if it doesn't work yet. It's not either/or, we want both.
>
> I am not sure if that is the right understanding. @fhahn do you think GVN (with a lot of work) optimized IR would or could be vectorizable?
Yes, once the loads have been simplified by GVN we should be able to tackle this in LV
https://github.com/llvm/llvm-project/pull/144987
More information about the llvm-commits
mailing list