[Bug 75276] Implement VGPR Register Spilling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 14 on bug 75276 from
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


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux