<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:francisvm@yahoo.com" title="Francis Visoiu Mistrih <francisvm@yahoo.com>"> <span class="fn">Francis Visoiu Mistrih</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Crash/assert when using regalloc= with -O0"
href="https://bugs.llvm.org/show_bug.cgi?id=31597">bug 31597</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>francisvm@yahoo.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Crash/assert when using regalloc= with -O0"
href="https://bugs.llvm.org/show_bug.cgi?id=31597#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Crash/assert when using regalloc= with -O0"
href="https://bugs.llvm.org/show_bug.cgi?id=31597">bug 31597</a>
from <span class="vcard"><a class="email" href="mailto:francisvm@yahoo.com" title="Francis Visoiu Mistrih <francisvm@yahoo.com>"> <span class="fn">Francis Visoiu Mistrih</span></a>
</span></b>
<pre>Now it errors out.
$ echo "define i32 @main() { ret i32 0 }" | ./build/bin/llc -O0
--regalloc=basic *[master]
LLVM ERROR: Must use fast (default) register allocator for unoptimized
regalloc.
$ echo "define i32 @main() { ret i32 0 }" | ./build/bin/llc -O0
--regalloc=greedy *[master]
LLVM ERROR: Must use fast (default) register allocator for unoptimized
regalloc.
$ echo "define i32 @main() { ret i32 0 }" | ./build/bin/llc -O0 --regalloc=pbqp
*[master]
LLVM ERROR: Must use fast (default) register allocator for unoptimized
regalloc.</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>