[PATCH] D79799: [VectorCombine] add loop to enable iterative folding

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 10:18:24 PDT 2020


nikic added a comment.

My only concern here would be whether this can degenerate quadratically. Without particular familiarity with this pass, and looking at example `@ins1_ins1_iterate`, it seems like this would work by scalarizing one operation on each iteration. Is that right? If so, that seems potentially problematic, as the pass becomes quadratic for longer instruction chains.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79799/new/

https://reviews.llvm.org/D79799





More information about the llvm-commits mailing list