[PATCH] D105817: [LV] Enable vectorization of multiple exit loops w/computable exit counts

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 07:08:25 PDT 2021


fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.

LGTM, thanks Philip!



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp:1133
-  // to allow separation of changes for review. We need to generalize the phi
-  // update logic in a number of places.
-  if (!Lp->getUniqueExitBlock()) {
----------------
IIUC the update logic for phis has been generalised already.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105817



More information about the llvm-commits mailing list