<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 in backend: Error while trying to spill R1 from class GPR:"
href="https://bugs.llvm.org/show_bug.cgi?id=49805">49805</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>error in backend: Error while trying to spill R1 from class GPR:
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>raj.khem@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=24713" name="attach_24713" title="test case">attachment 24713</a> <a href="attachment.cgi?id=24713&action=edit" title="test case">[details]</a></span>
test case
in 12.0.0-RC4 I am seeing a segfault in clang while compiling aom for
armv7/rpi4 target
fatal error: error in backend: Error while trying to spill R1 from class GPR:
Cannot scavenge register without an emergency spill slot!
Attached is the testcase and shell script to reproduce it.
This does not happen in 11.x so its a regression
here is more info compiler emits
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/aom/3.0.0-r0/git/av1/encoder/arm/neon/av1_fwd_txfm2d_neon.c'.
4. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on
function '@fdct8x16_neon'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
clang-12: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 12.0.0 (<a href="https://github.com/llvm/llvm-project">https://github.com/llvm/llvm-project</a>
31001be371e8f2c74470e727e54503fb2aabec8b)
Target: arm-yoe-linux-gnueabi</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>