<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Implement VGPR Register Spilling"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75276#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Implement VGPR Register Spilling"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75276">bug 75276</a>
from <span class="vcard"><a class="email" href="mailto:farmboy0+freedesktop@googlemail.com" title="farmboy0+freedesktop@googlemail.com">farmboy0+freedesktop@googlemail.com</a>
</span></b>
<pre>The v3 patch doesnt fix Antichamber's crash to desktop.
But with this patch it actually shows the VGPR messages:
LLVM triggered Diagnostic Handler: SIInstrInfo::storeRegToStackSlot - Can't
spill VGPR!
LLVM triggered Diagnostic Handler: SIInstrInfo::loadRegToStackSlot - Can't
retrieve spilled VGPR!
Here's the start of the backtrace for reference:
Program received signal SIGSEGV, Segmentation fault.
0xf504f671 in std::pair<llvm::SlotIndex, llvm::SlotIndex>::operator=
(this=0x450d2ff4, __p=...)
at
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/bits/stl_pair.h:153
153 second = __p.second;
(gdb) bt
#0 0xf504f671 in std::pair<llvm::SlotIndex, llvm::SlotIndex>::operator=
(this=0x450d2ff4, __p=...)
at
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/bits/stl_pair.h:153
#1 0xf505e8c5 in llvm::IntervalMapImpl::NodeBase<std::pair<llvm::SlotIndex,
llvm::SlotIndex>, llvm::LiveInterval*, 16u>::copy<16u> (
this=0x44ee9644, Other=..., i=250679, j=250678, Count=4294967295)
at /mnt/daten/Daten/Repositories/llvm/include/llvm/ADT/IntervalMap.h:231
#2 0xf505f3ad in llvm::IntervalMapImpl::NodeBase<std::pair<llvm::SlotIndex,
llvm::SlotIndex>, llvm::LiveInterval*, 16u>::moveLeft (
this=0x44ee9644, i=1, j=0, Count=4294967295) at
/mnt/daten/Daten/Repositories/llvm/include/llvm/ADT/IntervalMap.h:242
#3 0xf505ec81 in llvm::IntervalMapImpl::NodeBase<std::pair<llvm::SlotIndex,
llvm::SlotIndex>, llvm::LiveInterval*, 16u>::erase (
this=0x44ee9644, i=0, j=1, Size=0) at
/mnt/daten/Daten/Repositories/llvm/include/llvm/ADT/IntervalMap.h:263
#4 0xf505e175 in llvm::IntervalMapImpl::NodeBase<std::pair<llvm::SlotIndex,
llvm::SlotIndex>, llvm::LiveInterval*, 16u>::erase (
this=0x44ee9644, i=0, Size=0) at
/mnt/daten/Daten/Repositories/llvm/include/llvm/ADT/IntervalMap.h:270
#5 0xf505d1ee in llvm::IntervalMap<llvm::SlotIndex, llvm::LiveInterval*, 16u,
llvm::IntervalMapInfo<llvm::SlotIndex> >::iterator::erase (
this=0xffff6348) at
/mnt/daten/Daten/Repositories/llvm/include/llvm/ADT/IntervalMap.h:1876
#6 0xf505c846 in llvm::LiveIntervalUnion::extract (this=0x44ee9640,
VirtReg=...) at LiveIntervalUnion.cpp:68
#7 0xf50655ef in llvm::LiveRegMatrix::unassign (this=0x44d26e60, VirtReg=...)
at LiveRegMatrix.cpp:96
#8 0xf511e81f in (anonymous namespace)::RAGreedy::tryLastChanceRecoloring
(this=0x44243000, VirtReg=..., Order=..., NewVRegs=...,
FixedRegisters=..., Depth=0) at RegAllocGreedy.cpp:2067
#9 0xf511f224 in (anonymous namespace)::RAGreedy::selectOrSplitImpl
(this=0x44243000, VirtReg=..., NewVRegs=..., FixedRegisters=...,
Depth=0) at RegAllocGreedy.cpp:2285
#10 0xf511eb60 in (anonymous namespace)::RAGreedy::selectOrSplit
(this=0x44243000, VirtReg=..., NewVRegs=...) at RegAllocGreedy.cpp:2144</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>