<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 - Nary Reassociate pass still hangs on min/max code"
href="https://bugs.llvm.org/show_bug.cgi?id=50090">50090</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Nary Reassociate pass still hangs on min/max code
</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>normal
</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>chang-sun.lin.jr@intel.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=24794" name="attach_24794" title="Test case, hangs reassociation">attachment 24794</a> <a href="attachment.cgi?id=24794&action=edit" title="Test case, hangs reassociation">[details]</a></span>
Test case, hangs reassociation
Attached test case still hangs between 2 min/min reassociation patterns, even
after commit 36b932d6 (which fixed one similar case)
opt --debug --nary-reassociate small.ll
NARY: Found common sub-expr: %tmp5 = call i64 @llvm.umin.i64(i64 %tmp4, i64
16384)
NARY: Deleting: %tmp10 = call i64 @llvm.umin.i64(i64 %tmp9, i64 16384)
NARY: Inserting: %tmp10.nary = call i64 @llvm.umin.i64(i64 %tmp5, i64 %tmp)
NARY: Found common sub-expr: %tmp2 = call i64 @llvm.umin.i64(i64 %tmp, i64
%tmp1)
NARY: Deleting: %tmp10.nary = call i64 @llvm.umin.i64(i64 %tmp5, i64 %tmp)
NARY: Inserting: %tmp10.nary.nary = call i64 @llvm.umin.i64(i64 %tmp2, i64
16384)
NARY: Found common sub-expr: %tmp5 = call i64 @llvm.umin.i64(i64 %tmp4, i64
16384)
NARY: Deleting: %tmp10.nary.nary = call i64 @llvm.umin.i64(i64 %tmp2, i64
16384)
NARY: Inserting: %tmp10.nary.nary.nary = call i64 @llvm.umin.i64(i64 %tmp5,
i64 undef)
.....</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>