dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 73320] [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation
Date: Thu, 17 Apr 2014 23:01:07 +0000	[thread overview]
Message-ID: <bug-73320-502-MFYFnYucQJ@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-73320-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 8472 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73320

--- Comment #33 from farmboy0+freedesktop@googlemail.com ---
Program received signal SIGSEGV, Segmentation fault.
0xf4ba33e1 in llvm::SIInstrInfo::copyPhysReg (this=0x43f6b140, MBB=..., MI=...,
DL=..., DestReg=0, SrcReg=106, KillSrc=true)
    at SIInstrInfo.cpp:160
160       while (unsigned SubIdx = *SubIndices++) {
(gdb) bt
#0  0xf4ba33e1 in llvm::SIInstrInfo::copyPhysReg (this=0x43f6b140, MBB=...,
MI=..., DL=..., DestReg=0, SrcReg=106, KillSrc=true)
    at SIInstrInfo.cpp:160
#1  0xf50766b8 in (anonymous namespace)::ExpandPostRA::LowerCopy
(this=0x44b60e00, MI=0x45013d20) at ExpandPostRAPseudos.cpp:165
#2  0xf50768b3 in (anonymous namespace)::ExpandPostRA::runOnMachineFunction
(this=0x44b60e00, MF=...) at ExpandPostRAPseudos.cpp:213
#3  0xf50f264f in llvm::MachineFunctionPass::runOnFunction (this=0x44b60e00,
F=...) at MachineFunctionPass.cpp:33
#4  0xf4dc053f in llvm::FPPassManager::runOnFunction (this=0x446590c0, F=...)
at LegacyPassManager.cpp:1540
#5  0xf4dc06e0 in llvm::FPPassManager::runOnModule (this=0x446590c0, M=...) at
LegacyPassManager.cpp:1560
#6  0xf4dc09e4 in (anonymous namespace)::MPPassManager::runOnModule
(this=0x431b3380, M=...) at LegacyPassManager.cpp:1618
#7  0xf4dc0f53 in llvm::legacy::PassManagerImpl::run (this=0x44803000, M=...)
at LegacyPassManager.cpp:1725
#8  0xf4dc1147 in llvm::legacy::PassManager::run (this=0xffff6b08, M=...) at
LegacyPassManager.cpp:1760
#9  0xf5291a59 in LLVMTargetMachineEmit (T=0x44d746c0, M=0x445881c0, OS=...,
codegen=LLVMObjectFile, ErrorMessage=0xffff6be8)
    at TargetMachineC.cpp:233
#10 0xf5291bed in LLVMTargetMachineEmitToMemoryBuffer (T=0x44d746c0,
M=0x445881c0, codegen=LLVMObjectFile, ErrorMessage=0xffff6be8, 
    OutMemBuf=0xffff6be0) at TargetMachineC.cpp:259
#11 0xf5bab1f8 in radeon_llvm_compile (M=0x445881c0, binary=0xffff6c70,
gpu_family=0xf5fb96f1 "verde", dump=0) at radeon_llvm_emit.c:148
#12 0xf5b8c7d5 in si_compile_llvm (sctx=0xc148100, shader=0x44db9800,
mod=0x445881c0) at si_shader.c:2306
#13 0xf5b8d448 in si_pipe_shader_create (ctx=0xc148100, shader=0x44db9800) at
si_shader.c:2583
#14 0xf5b92660 in si_shader_select (ctx=0xc148100, sel=0x448adc80) at
si_state.c:2114
#15 0xf5b9279f in si_create_shader_state (ctx=0xc148100, state=0x43f6b508,
pipe_shader_type=1) at si_state.c:2146
#16 0xf5b927e8 in si_create_fs_state (ctx=0xc148100, state=0x43f6b508) at
si_state.c:2158
#17 0xf5da395a in st_translate_fragment_program (st=0xbf90000, stfp=0x44c01680,
key=0xffffb970) at state_tracker/st_program.c:782
#18 0xf5da3a55 in st_get_fp_variant (st=0xbf90000, stfp=0x44c01680,
key=0xffffb970) at state_tracker/st_program.c:819
#19 0xf5d60b4b in update_fp (st=0xbf90000) at state_tracker/st_atom_shader.c:92
#20 0xf5d5b80d in st_validate_state (st=0xbf90000) at
state_tracker/st_atom.c:212
#21 0xf5d7b220 in st_draw_vbo (ctx=0xcf2f000, prims=0xffffbb1c, nr_prims=1,
ib=0xffffbb38, index_bounds_valid=1 '\001', min_index=0, 
    max_index=4, tfb_vertcount=0x0, indirect=0x0) at
state_tracker/st_draw.c:198
#22 0xf5d3aadf in vbo_handle_primitive_restart (ctx=0xcf2f000, prim=0xffffbb1c,
nr_prims=1, ib=0xffffbb38, index_bounds_valid=1 '\001', 
    min_index=0, max_index=4) at vbo/vbo_exec_array.c:591
#23 0xf5d3b6a5 in vbo_validated_drawrangeelements (ctx=0xcf2f000, mode=4,
index_bounds_valid=1 '\001', start=0, end=4, count=6, type=5123, 
    indices=0x949d904 <DrawDenormalizedQuad(float, float, float, float, float,
float, float, float, unsigned int, unsigned int, unsigned int, unsigned int,
float)::Indices>, basevertex=0, numInstances=1, baseInstance=0) at
vbo/vbo_exec_array.c:1014
#24 0xf5d3b90e in vbo_exec_DrawRangeElementsBaseVertex (mode=4, start=0, end=4,
count=6, type=5123, 
    indices=0x949d904 <DrawDenormalizedQuad(float, float, float, float, float,
float, float, float, unsigned int, unsigned int, unsigned int, unsigned int,
float)::Indices>, basevertex=0) at vbo/vbo_exec_array.c:1122
#25 0xf5d3b9cf in vbo_exec_DrawRangeElements (mode=4, start=0, end=4, count=6,
type=5123, 
---Type <return> to continue, or q <return> to quit---
    indices=0x949d904 <DrawDenormalizedQuad(float, float, float, float, float,
float, float, float, unsigned int, unsigned int, unsigned int, unsigned int,
float)::Indices>) at vbo/vbo_exec_array.c:1142
#26 0x08baac6b in RHIDrawIndexedPrimitiveUP (VertexDataStride=32,
VertexData=0xffffbc40, IndexDataStride=2, 
    IndexData=0x949d904 <DrawDenormalizedQuad(float, float, float, float,
float, float, float, float, unsigned int, unsigned int, unsigned int, unsigned
int, float)::Indices>, NumPrimitives=2, NumVertices=4, MinVertexIndex=0,
PrimitiveType=0)
    at ../../Development/Src/Engine/Inc/RHIMethods.h:1658
#27 DrawDenormalizedQuad (X=0, Y=0, SizeX=420, SizeY=247, U=0, V=0, SizeU=420,
SizeV=247, TargetSizeX=TargetSizeX@entry=422, 
    TargetSizeY=258, TextureSizeX=TextureSizeX@entry=422, TextureSizeY=258,
ClipSpaceQuadZ=ClipSpaceQuadZ@entry=0)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneFilterRendering.cpp:199
#28 0x08b76416 in ApplyRadialBlur (SourceFilterBuffer=SRTI_FilterColor1,
DestFilterBuffer=SRTI_FilterColor0, BlurVectorScale=1, 
    LightSceneInfo=0x42a63c00, View=...)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/LightShaftRendering.cpp:872
#29 FSceneRenderer::RenderLightShafts (this=this@entry=0x44d3c900)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/LightShaftRendering.cpp:1113
#30 0x08bb6500 in FSceneRenderer::RenderDPGEnd (this=this@entry=0x44d3c900,
DPGIndex=DPGIndex@entry=1, 
    bDeferPrePostProcessResolve=bDeferPrePostProcessResolve@entry=1,
bSceneColorDirty=@0xffffbf80: 1, bIsOcclusionTesting=1)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:2194
#31 0x08bc15ee in FSceneRenderer::Render (this=this@entry=0x44d3c900)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:2670
#32 0x08bc16c4 in RenderViewFamily_RenderThread
(SceneRenderer=SceneRenderer@entry=0x44d3c900)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:4166
#33 0x08bc1877 in Execute (this=<synthetic pointer>)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:4381
#34 BeginRenderingViewFamily (Canvas=0xffffc6a4, ViewFamily=0xffffc4f0)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/SceneRendering.cpp:4381
#35 0x0882652e in UGameViewportClient::Draw (this=0xbf14700,
Viewport=0xa03bb44, Canvas=0xffffc6a4)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnPlayer.cpp:1081
#36 0x08564935 in FViewport::Draw (this=0xa03bb44,
bShouldPresent=bShouldPresent@entry=1)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnClient.cpp:823
#37 0x08643249 in UGameEngine::RedrawViewports (this=0xb20e800,
bShouldPresent=1)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnGame.cpp:76
#38 0x08649ae5 in UGameEngine::Tick (this=0xb20e800, DeltaSeconds=0.0317840576)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Engine/Src/UnGame.cpp:4249
#39 0x08e7b6a2 in FEngineLoop::Tick (this=this@entry=0x95c6900 <GEngineLoop>)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Launch/Src/LaunchEngineLoop.cpp:3970
---Type <return> to continue, or q <return> to quit---
#40 0x08e8328c in EngineTick ()
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Launch/Src/Launch.cpp:193
#41 GuardedMain (CmdLine=0x90cfaf0 L"", hInInstance=hInInstance@entry=0x0,
hPrevInstance=hPrevInstance@entry=0x0, 
    nCmdShow=nCmdShow@entry=0)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Launch/Src/Launch.cpp:290
#42 0x08e37f7d in main (argc=1, argv=0xffffcbd4)
    at
/samba/ue3builds/DONKEY/projects/minority/UE3/Development/Src/../../Development/Src/Linux/Src/Linux.cpp:727

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 9498 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2014-04-17 23:01 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-06 12:42 [Bug 73320] New: [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation bugzilla-daemon
2014-01-13  8:56 ` [Bug 73320] " bugzilla-daemon
2014-01-13 19:23 ` bugzilla-daemon
2014-01-13 19:51 ` bugzilla-daemon
2014-01-23  5:54 ` bugzilla-daemon
2014-01-23  5:56 ` bugzilla-daemon
2014-01-31 18:04 ` bugzilla-daemon
2014-02-07 23:32 ` bugzilla-daemon
2014-02-20 18:58 ` bugzilla-daemon
2014-02-22  6:20 ` bugzilla-daemon
2014-02-22  6:20 ` bugzilla-daemon
2014-02-22 17:59 ` bugzilla-daemon
2014-02-24 17:48 ` bugzilla-daemon
2014-02-25 17:30 ` bugzilla-daemon
2014-02-26 22:39 ` bugzilla-daemon
2014-02-27  6:57 ` bugzilla-daemon
2014-03-02 10:26 ` bugzilla-daemon
2014-03-02 19:20 ` bugzilla-daemon
2014-03-03 19:53 ` bugzilla-daemon
2014-03-04  7:10 ` bugzilla-daemon
2014-03-05 21:55 ` bugzilla-daemon
2014-03-05 22:12 ` bugzilla-daemon
2014-03-06 22:37 ` bugzilla-daemon
2014-03-29 18:33 ` bugzilla-daemon
2014-04-03  3:03 ` bugzilla-daemon
2014-04-03  3:30 ` bugzilla-daemon
2014-04-03 18:22 ` bugzilla-daemon
2014-04-03 18:29 ` bugzilla-daemon
2014-04-17 15:52 ` bugzilla-daemon
2014-04-17 15:55 ` bugzilla-daemon
2014-04-17 21:41 ` bugzilla-daemon
2014-04-17 21:47 ` bugzilla-daemon
2014-04-17 22:09 ` bugzilla-daemon
2014-04-17 22:28 ` bugzilla-daemon
2014-04-17 23:01 ` bugzilla-daemon [this message]
2014-04-28 14:46 ` bugzilla-daemon
2014-04-28 20:52 ` bugzilla-daemon
2014-04-29 21:36 ` bugzilla-daemon
2014-04-30 19:30 ` bugzilla-daemon
2014-04-30 19:37 ` bugzilla-daemon
2014-04-30 20:39 ` bugzilla-daemon
2014-05-03 19:43 ` bugzilla-daemon
2014-05-04 10:19 ` bugzilla-daemon
2014-05-04 16:50 ` bugzilla-daemon
2014-05-09 22:05 ` bugzilla-daemon
2014-05-09 22:44 ` bugzilla-daemon
2014-05-10 15:42 ` bugzilla-daemon
2014-05-11  0:03 ` bugzilla-daemon
2014-05-11 11:28 ` bugzilla-daemon
2014-05-11 18:43 ` bugzilla-daemon
2014-05-16 19:29 ` bugzilla-daemon
2014-05-16 22:50 ` bugzilla-daemon
2014-05-17  3:02 ` bugzilla-daemon
2015-02-06  1:35 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-73320-502-MFYFnYucQJ@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox