[PATCH] D12765: [LV] Allow vectorization of loops with induction post-inc expressions

Michael Zolotukhin via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 20:41:46 PDT 2015

mzolotukhin added a comment.

Hi Jakub and others,

As I mentioned before, my previous patch helped vectorizing the original test, but in the process we duplicated some code into the loop preheader. That happened because I fixed `findExistingValues` function to look for similar expression too, but I didn't fix  `SCEVExpander::expand` to behave correspondingly. That's a bit bigger work to do than I thought before, so I have to postpone it until I have more time. I'm still sure that it's a right approach and eventually I hope to do it if no one else does that before. Jakub, do you have any plans on trying to implement this?

I filed a PR for this: https://llvm.org/bugs/show_bug.cgi?id=24920




More information about the llvm-commits mailing list