<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 - After r308322, clang hangs on compiling lib/IR/Function.cpp from llvm 3.5.2"
href="https://bugs.llvm.org/show_bug.cgi?id=33900">33900</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>After r308322, clang hangs on compiling lib/IR/Function.cpp from llvm 3.5.2
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dimitry@andric.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=18836" name="attach_18836" title="Preprocessed Function.cpp and reproduction script">attachment 18836</a> <a href="attachment.cgi?id=18836&action=edit" title="Preprocessed Function.cpp and reproduction script">[details]</a></span>
Preprocessed Function.cpp and reproduction script
I recently imported llvm/clang trunk r308421 into FreeBSD 12-CURRENT, and
afterwards, I got a report that building the port for llvm 3.5.2 was hanging:
<a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219139#c13">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219139#c13</a> (it gets
automatically killed after 7200 seconds, as a "runaway build").
It turned out it was hanging on compiling lib/IR/Function.cpp, and bisecting
shows this started at <a href="https://reviews.llvm.org/rL308322">https://reviews.llvm.org/rL308322</a>. Since this commit
seems to only change two defaults (MaxLoadsPerMemcmp and
MaxLoadsPerMemcmpOptSize), I suspect the hang exposes another, deeper lying
issue.
I've attached a tarball with the fully preprocessed Function.cpp, and a shell
script for reproduction. In the mean time, I'm trying to reduce the test case,
but it is tricky to do with a hang. :) Normally, the .ii file should compile
within ~20 seconds, depending on the speed of the machine.</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>