<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 - error: use of undefined value '%.split.split.split.[...].split.spl171 with "-bounds-checking -aggressive-instcombine -loop-unswitch -loop-rotate -licm -sroa -simple-loop-unswitch""
href="https://bugs.llvm.org/show_bug.cgi?id=37951">37951</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>error: use of undefined value '%.split.split.split.[...].split.spl171 with "-bounds-checking -aggressive-instcombine -loop-unswitch -loop-rotate -licm -sroa -simple-loop-unswitch"
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>new bugs
</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=20472" name="attach_20472" title="reproducer">attachment 20472</a> <a href="attachment.cgi?id=20472&action=edit" title="reproducer">[details]</a></span>
reproducer
Running
opt -S -o - bbi-15719.ll -bounds-checking -aggressive-instcombine
-loop-unswitch -loop-rotate -licm -sroa -simple-loop-unswitch | opt -S
gives
opt: <stdin>:1729:29: error: use of undefined value
'%.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.spl171'
%a.1.0 = phi i16 [ undef,
%.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.split.spl171
], [ %_tmp548, %bb1 ]
Looking at the output from the first opt invocation there is indeed a use of
the mentioned basic block at line 1729 that
isn't defined anywhere.
What's funny though is that this isn't caught by the verifier, so just doing
opt -S -o - bbi-15719.ll -bounds-checking -aggressive-instcombine
-loop-unswitch -loop-rotate -licm -sroa -simple-loop-unswitch - verify-each
passes.
Found during fuzz testing with random passes on random input.</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>