<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 - [AArch64] Assertion failure compiling with -O0"
href="https://bugs.llvm.org/show_bug.cgi?id=38396">38396</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AArch64] Assertion failure compiling with -O0
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>HP
</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>llc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cramertaylorj@gmail.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=20626" name="attach_20626" title="Assertion-triggering bitcode">attachment 20626</a> <a href="attachment.cgi?id=20626&action=edit" title="Assertion-triggering bitcode">[details]</a></span>
Assertion-triggering bitcode
The attached bitcode (minimized w/ bugpoint) triggers an assertion failure when
compiled with -O0. This was originally reported as
<a href="https://github.com/rust-lang/rust/issues/52884">https://github.com/rust-lang/rust/issues/52884</a>, where it was reported as a
regression after rustc upgraded from <a href="https://github.com/rust-lang/llvm">https://github.com/rust-lang/llvm</a> 509f29
to 036849. A bisection was attempted, but the merge base 1b838d was also bad.
The backtrace is:
```
#0 0x00007ffff6cfbfcf in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff6cfd3fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff6cf4e37 in __assert_fail_base () from
/lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff6cf4ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x000000000622be3a in llvm::IRTranslator::allocateVRegs (this=0x6c59580,
Val=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp:144
#5 0x000000000623029c in llvm::IRTranslator::translateExtractValue
(this=0x6c59580, U=...,
MIRBuilder=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp:510
#6 0x0000000006236df6 in llvm::IRTranslator::translate (this=0x6c59580,
Inst=...)
at
/usr/local/google/home/cramertj/src/llvm/include/llvm/IR/Instruction.def:198
#7 0x000000000623817e in llvm::IRTranslator::runOnMachineFunction
(this=0x6c59580, CurMF=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp:1624
#8 0x0000000004bb96de in llvm::MachineFunctionPass::runOnFunction
(this=0x6c59580, F=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/CodeGen/MachineFunctionPass.cpp:61
#9 0x00000000051dc0e8 in llvm::FPPassManager::runOnFunction (this=0x6c49f10,
F=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/IR/LegacyPassManager.cpp:1586
#10 0x00000000051dc435 in llvm::FPPassManager::runOnModule (this=0x6c49f10,
M=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/IR/LegacyPassManager.cpp:1609
#11 0x00000000051dcc2f in (anonymous namespace)::MPPassManager::runOnModule
(this=0x6c4e8c0, M=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/IR/LegacyPassManager.cpp:1669
#12 0x00000000051dc717 in llvm::legacy::PassManagerImpl::run (this=0x6c36f90,
M=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/IR/LegacyPassManager.cpp:1774
#13 0x00000000051dd181 in llvm::legacy::PassManager::run (this=0x7fffffffd0c0,
M=...)
at
/usr/local/google/home/cramertj/src/llvm/lib/IR/LegacyPassManager.cpp:1805
#14 0x0000000002bc5c56 in compileModule (argv=0x7fffffffda88, Context=...)
at /usr/local/google/home/cramertj/src/llvm/tools/llc/llc.cpp:597
#15 0x0000000002bc393f in main (argc=3, argv=0x7fffffffda88)
at /usr/local/google/home/cramertj/src/llvm/tools/llc/llc.cpp:351
```</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>