<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - InnerLoopVectorizer::emitSCEVChecks(llvm::Loop *, llvm::BasicBlock *): Assertion `!Cost->foldTailByMasking() && "Cannot SCEV check stride or overflow when folding tail"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=40816">40816</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>InnerLoopVectorizer::emitSCEVChecks(llvm::Loop *, llvm::BasicBlock *): Assertion `!Cost->foldTailByMasking() && "Cannot SCEV check stride or overflow when folding tail"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Loop Optimizer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikael.holmen@ericsson.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21501" name="attach_21501" title="reproducer">attachment 21501</a> <a href="attachment.cgi?id=21501&action=edit" title="reproducer">[details]</a></span>
reproducer
Reproduce with:
opt -S -o - -loop-vectorize bbi-23939_x86.ll -mtriple=x86_64-unknown-unknown
-mcpu=skylake-avx512 -enable-interleaved-mem-accesses=0
This seems to be similar to
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - InnerLoopVectorizer::emitSCEVChecks(llvm::Loop *, llvm::BasicBlock *): Assertion `!Cost->foldTailByMasking() && "Cannot check stride when folding tail"' failed."
href="show_bug.cgi?id=39417">https://bugs.llvm.org/show_bug.cgi?id=39417</a>
but the fix for that in r345959 doesn't seem to help here.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>