[PATCH] D66932: [LV] Tail-folding, runtime scev checks
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 01:57:35 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370711: [LV] Tail-folding, runtime scev checks (authored by SjoerdMeijer, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D66932?vs=217838&id=218410#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66932/new/
https://reviews.llvm.org/D66932
Files:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Index: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -2695,8 +2695,8 @@
if (C->isZero())
return;
- assert(!Cost->foldTailByMasking() &&
- "Cannot SCEV check stride or overflow when folding tail");
+ assert(!BB->getParent()->hasOptSize() &&
+ "Cannot SCEV check stride or overflow when optimizing for size");
// Create a new block containing the stride check.
BB->setName("vector.scevcheck");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66932.218410.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190903/5d29b3b1/attachment.bin>
More information about the llvm-commits
mailing list