<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 - Assertion failed: ((LIS.hasInterval(Reg) && !LIS.getInterval(Reg).empty()) && "Reg with empty interval has reference"), function reMaterializeAll"
href="https://bugs.llvm.org/show_bug.cgi?id=33884">33884</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: ((LIS.hasInterval(Reg) && !LIS.getInterval(Reg).empty()) && "Reg with empty interval has reference"), function reMaterializeAll
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>Register Allocator
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Matthew.Arsenault@amd.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=18831" name="attach_18831" title="Testcase">attachment 18831</a> <a href="attachment.cgi?id=18831&action=edit" title="Testcase">[details]</a></span>
Testcase
Ran into this similar testcase while reducing <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Assertion failed: (!SplitVirtReg->empty() && "expecting non-empty interval"), function allocatePhysRegs"
href="show_bug.cgi?id=33620">bug 33620</a>
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* #0: 0x00007fffe62bad42 __pthread_kill + 10
#1: 0x00007fffe63a8457 pthread_kill + 90
#2: 0x00007fffe6220420 abort + 129
#3: 0x00007fffe61e7893 __assert_rtn + 320
#4: 0x0000000101de7ae7 (anonymous
namespace)::InlineSpiller::reMaterializeAll(this=0x00000001088090d0) + 1719 at
InlineSpiller.cpp:646
#5: 0x0000000101de5442 (anonymous
namespace)::InlineSpiller::spill(this=0x00000001088090d0,
edit=0x00007fff5fbfa950) + 754 at InlineSpiller.cpp:1066
#6: 0x00000001020f9153 (anonymous
namespace)::RAGreedy::selectOrSplitImpl(this=0x0000000108031600,
VirtReg=0x0000000108c01230, NewVRegs=0x00007fff5fbfae38,
FixedRegisters=0x00007fff5fbfac60, Depth=0) + 2467 at RegAllocGreedy.cpp:2643
#7: 0x00000001020ec6bb (anonymous
namespace)::RAGreedy::selectOrSplit(this=0x0000000108031600,
VirtReg=0x0000000108c01230, NewVRegs=0x00007fff5fbfae38) + 107 at
RegAllocGreedy.cpp:2305
#8: 0x00000001020ecb44 non-virtual thunk to (anonymous
namespace)::RAGreedy::selectOrSplit(this=0x0000000108031600,
VirtReg=0x0000000108c01230, NewVRegs=0x00007fff5fbfae38) + 52 at
RegAllocGreedy.cpp:0
#9: 0x00000001020d6ef6
llvm::RegAllocBase::allocatePhysRegs(this=0x0000000108031600) + 662 at
RegAllocBase.cpp:108
#10: 0x00000001020ec4e6 (anonymous
namespace)::RAGreedy::runOnMachineFunction(this=0x0000000108031600,
mf=0x0000000108a010f0) + 2134 at RegAllocGreedy.cpp:2764
#11: 0x0000000101f40e21
llvm::MachineFunctionPass::runOnFunction(this=0x0000000108031600,
F=0x0000000107f12858) + 449 at MachineFunctionPass.cpp:62
#12: 0x00000001024c533f
llvm::FPPassManager::runOnFunction(this=0x0000000108805220,
F=0x0000000107f12858) + 399 at LegacyPassManager.cpp:1514
#13: 0x00000001024c5845
llvm::FPPassManager::runOnModule(this=0x0000000108805220, M=0x0000000107f11ef0)
+ 117 at LegacyPassManager.cpp:1535
#14: 0x00000001024c6614 (anonymous
namespace)::MPPassManager::runOnModule(this=0x0000000108a00250,
M=0x0000000107f11ef0) + 2196 at LegacyPassManager.cpp:1591
#15: 0x00000001024c5b06
llvm::legacy::PassManagerImpl::run(this=0x000000010a000000,
M=0x0000000107f11ef0) + 342 at LegacyPassManager.cpp:1694
#16: 0x00000001024c7341
llvm::legacy::PassManager::run(this=0x00007fff5fbfc3c8, M=0x0000000107f11ef0)
+ 33 at LegacyPassManager.cpp:1725
#17: 0x000000010000a874 compileModule(argv=0x00007fff5fbfef18,
Context=0x00007fff5fbfeaf8) + 23108 at llc.cpp:617
#18: 0x00000001000040f1 main(argc=9, argv=0x00007fff5fbfef18) + 2977 at
llc.cpp:358
#19: 0x00007fffe618c235 start + 1
#20: 0x00007fffe618c235 start + 1</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>