<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 - opt crashes with "-simplifycfg -lcssa -loop-unswitch": Assertion `InLCSSA && "Requested to preserve LCSSA, but it's already broken."'"
href="https://bugs.llvm.org/show_bug.cgi?id=32591">32591</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>opt crashes with "-simplifycfg -lcssa -loop-unswitch": Assertion `InLCSSA && "Requested to preserve LCSSA, but it's already broken."'
</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=18256" name="attach_18256" title="csmith generated, bugpoint reduced reproducer">attachment 18256</a> <a href="attachment.cgi?id=18256&action=edit" title="csmith generated, bugpoint reduced reproducer">[details]</a></span>
csmith generated, bugpoint reduced reproducer
opt -S -simplifycfg -lcssa -loop-unswitch red.ll
gives
opt: ../lib/Transforms/Utils/LoopSimplify.cpp:738: bool
llvm::simplifyLoop(llvm::Loop *, llvm::DominatorTree *, llvm::LoopInfo *,
llvm::ScalarEvolution *, llvm::AssumptionCache *, bool): Assertion
`L->isRecursivelyLCSSAForm(*DT, *LI) && "Requested to preserve LCSSA, but it's
already broken."' failed.
Similar to PR31198</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>