[PATCH] D100751: [VPlan] Properly handle sinking of replicate regions.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 13:24:58 PDT 2021


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:9126
+    auto *SplitBlock =
+        Target->getParent()->splitAt(std::next(Target->getIterator()));
+
----------------
ebrevnov wrote:
> Hi Florian,
> 
> Just want to give you a heads up that we observe crash downstream at this line. In particular, std::next(Target->getIterator()) returns null. So far I have internal reproducer only. Maybe you can figure out the problem faster than I come  up with upstreamable reproducer. Thanks in advance.
Thanks for the heads-up! I'll try to see if I can come up with a test case tomorrow.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100751



More information about the llvm-commits mailing list