<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 - Infinite loop in SLP vectorizer after 99203f2004d031f2ef22f01e3c569d2775de1836"
href="https://bugs.llvm.org/show_bug.cgi?id=49898">49898</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Infinite loop in SLP vectorizer after 99203f2004d031f2ef22f01e3c569d2775de1836
</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>All
</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>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>benny.kra@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>a.bataev@hotmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>$ cat t.ll
define void @fusion_1506(i8* %temp_buf1) local_unnamed_addr {
entry:
%0 = getelementptr inbounds i8, i8* %temp_buf1, i64 5621415936
%1 = getelementptr inbounds i8, i8* %temp_buf1, i64 7278166016
%2 = getelementptr inbounds i8, i8* %temp_buf1, i64 5097127936
%3 = bitcast i8* %2 to float*
%4 = bitcast i8* %1 to float*
%5 = getelementptr inbounds float, float* %4, i64 undef
store float undef, float* %5, align 16
%6 = bitcast i8* %0 to float*
%7 = getelementptr inbounds float, float* %6, i64 undef
store float undef, float* %7, align 16
%8 = getelementptr inbounds float, float* %6, i64 undef
store float undef, float* %8, align 4
%9 = getelementptr inbounds float, float* %3, i64 undef
store float undef, float* %9, align 4
ret void
}
$ opt t.ll -slp-vectorizer -S
<hangs>
This worked before
<a href="https://github.com/llvm/llvm-project/commit/99203f2004d031f2ef22f01e3c569d2775de1836">https://github.com/llvm/llvm-project/commit/99203f2004d031f2ef22f01e3c569d2775de1836</a></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>