[PATCH] D103514: [LV] Support sinking recipe in replicate region after another region.

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 11:03:15 PDT 2021


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

Looks good to me, thanks for accommodating the changes!
Adding a minor error message suggestion.



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:9197
+        assert(R->getParent()->size() == 1 &&
+               "parent of R must be a replicator with a single recipe");
         return Region;
----------------
"parent of R must be a replicator with a single recipe" >>
"A recipe in an original replicator region must be the only recipe in its block"?
("original" - because this does not hold for merged replicator regions).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103514



More information about the llvm-commits mailing list