[all-commits] [llvm/llvm-project] bdada7: [VPlan] Adjust assert in splitBlock to allow split...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu May 13 05:37:49 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bdada7546e6b4a189a22c7ba9ce2d1b507b9c22e
https://github.com/llvm/llvm-project/commit/bdada7546e6b4a189a22c7ba9ce2d1b507b9c22e
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-05-13 (Thu, 13 May 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
Log Message:
-----------
[VPlan] Adjust assert in splitBlock to allow splitting at end.
SplitAt should only be dereferenced in the assert if it does not point
to the end of the block. This fixes a crash in the added test case.
More information about the All-commits
mailing list