<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:tim.besard@elis.ugent.be" title="Tim Besard <tim.besard@elis.ugent.be>"> <span class="fn">Tim Besard</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Assertion `RegNo < NumRegs && "Attempting to access record for invalid register number!"' failed."
href="https://llvm.org/bugs/show_bug.cgi?id=17519">bug 17519</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>tim.besard@elis.ugent.be
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Assertion `RegNo < NumRegs && "Attempting to access record for invalid register number!"' failed."
href="https://llvm.org/bugs/show_bug.cgi?id=17519#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Assertion `RegNo < NumRegs && "Attempting to access record for invalid register number!"' failed."
href="https://llvm.org/bugs/show_bug.cgi?id=17519">bug 17519</a>
from <span class="vcard"><a class="email" href="mailto:tim.besard@elis.ugent.be" title="Tim Besard <tim.besard@elis.ugent.be>"> <span class="fn">Tim Besard</span></a>
</span></b>
<pre>Sorry to re-open, but I'm coming across this assertion as well, apparently not
fixed in r192444 for my case.
I'll be attaching some bitcode files for reproducing the issue; the 3.4 one
compatible with r192444, the others respectively for 3.7 and trunk.
$ llc reduced-trunk.ll
llc: llvm/src/llvm/include/llvm/MC/MCRegisterInfo.h:325: const
llvm::MCRegisterDesc &llvm::MCRegisterInfo::operator[](unsigned int) const:
Assertion `RegNo < NumRegs && "Attempting to access record for invalid register
number!"' failed.
0 libLLVMSupport.so.3.8 0x00007ffa1a225fde
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46
1 libLLVMSupport.so.3.8 0x00007ffa1a227179
2 libLLVMSupport.so.3.8 0x00007ffa1a225b33 llvm::sys::RunSignalHandlers()
+ 131
3 libLLVMSupport.so.3.8 0x00007ffa1a2275ff
4 libc.so.6 0x00007ffa19302180
5 libc.so.6 0x00007ffa19302107 gsignal + 55
6 libc.so.6 0x00007ffa193034e8 abort + 328
7 libc.so.6 0x00007ffa192fb226
8 libc.so.6 0x00007ffa192fb2d2
9 libLLVMAsmPrinter.so.3.8 0x00007ffa1cb8c557
10 libLLVMAsmPrinter.so.3.8 0x00007ffa1cb8c4fb
11 libLLVMAsmPrinter.so.3.8 0x00007ffa1cb79293
12 libLLVMAsmPrinter.so.3.8 0x00007ffa1cb6d7c1
13 libLLVMAsmPrinter.so.3.8 0x00007ffa1cb6c3c7
llvm::AsmPrinter::EmitFunctionBody() + 1143
14 libLLVMNVPTXCodeGen.so.3.8 0x00007ffa1dd276e8
15 libLLVMNVPTXCodeGen.so.3.8 0x00007ffa1dd19ebb
16 libLLVMCodeGen.so.3.8 0x00007ffa1c48474e
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
17 libLLVMCore.so.3.8 0x00007ffa1bce97c0
llvm::FPPassManager::runOnFunction(llvm::Function&) + 416
18 libLLVMCore.so.3.8 0x00007ffa1bce9af5
llvm::FPPassManager::runOnModule(llvm::Module&) + 117
19 libLLVMCore.so.3.8 0x00007ffa1bcea2e1
20 libLLVMCore.so.3.8 0x00007ffa1bce9ddb
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 347
21 libLLVMCore.so.3.8 0x00007ffa1bcea821
llvm::legacy::PassManager::run(llvm::Module&) + 33
22 llc 0x0000000000414840
23 llc 0x0000000000413299 main + 233
24 libc.so.6 0x00007ffa192eeb45 __libc_start_main + 245
25 llc 0x0000000000412f7d
Stack dump:
0. Program arguments: llc reduced-trunk.ll
1. Running pass 'Function Pass Manager' on module 'reduced-trunk.ll'.
2. Running pass 'NVPTX Assembly Printer' on function '@kernel'
Aborted</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>