From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 95438] Elemental demo compute shader takes ages to compile Date: Tue, 17 May 2016 02:01:15 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1142548038==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5027E6E14C for ; Tue, 17 May 2016 02:01:15 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1142548038== Content-Type: multipart/alternative; boundary="14634504750.8F079F38.12239"; charset="UTF-8" --14634504750.8F079F38.12239 Date: Tue, 17 May 2016 02:01:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D95438 Bug ID: 95438 Summary: Elemental demo compute shader takes ages to compile Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: airlied@freedesktop.org QA Contact: dri-devel@lists.freedesktop.org Created attachment 123804 --> https://bugs.freedesktop.org/attachment.cgi?id=3D123804&action=3Dedit compute shader and GLSL/TGSI/llvm IR. After fixing the two GLSL bugs, I hit a case where one of the compute shade= rs in=20 ElementalDemo takes a long long time to compile and consumes a lot of memory doing so. #0 llvm::SUnit::addPred (this=3Dthis@entry=3D0x7fa8da02fae0, D=3D..., Required=3DRequired@entry=3Dtrue) at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAG.cpp:67 #1 0x00007fa92c946d2d in llvm::ScheduleDAGInstrs::addPhysRegDataDeps (this=3Dthis@entry=3D0x7fa9248d3840, SU=3DSU@entry=3D0x7fa8d9833c40,=20 OperIdx=3DOperIdx@entry=3D8) at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:318 #2 0x00007fa92c947198 in llvm::ScheduleDAGInstrs::addPhysRegDeps (this=3Dthis@entry=3D0x7fa9248d3840, SU=3DSU@entry=3D0x7fa8d9833c40,=20 OperIdx=3DOperIdx@entry=3D8) at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:370 #3 0x00007fa92c94fd1e in llvm::ScheduleDAGInstrs::buildSchedGraph (this=3Dthis@entry=3D0x7fa9248d3840, AA=3D0x7fa8e2e55b10,=20 RPTracker=3DRPTracker@entry=3D0x0, PDiffs=3DPDiffs@entry=3D0x0, LIS=3DL= IS@entry=3D0x0, TrackLaneMasks=3DTrackLaneMasks@entry=3Dfalse) at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:959 #4 0x00007fa92c8ff02b in (anonymous namespace)::SchedulePostRATDList::sche= dule (this=3Dthis@entry=3D0x7fa9248d3840) at /home/airlied/devel/llvm/lib/CodeGen/PostRASchedulerList.cpp:391 #5 0x00007fa92c8ffbbe in (anonymous namespace)::PostRAScheduler::runOnMachineFunction (this=3D0x7fa8e284a500, F= n=3D...) at /home/airlied/devel/llvm/lib/CodeGen/PostRASchedulerList.cpp:360 #6 0x00007fa92c880721 in llvm::MachineFunctionPass::runOnFunction (this=3D0x7fa8e284a500, F=3D...) at /home/airlied/devel/llvm/lib/CodeGen/MachineFunctionPass.cpp:60 --=20 You are receiving this mail because: You are the assignee for the bug.= --14634504750.8F079F38.12239 Date: Tue, 17 May 2016 02:01:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 95438
Summary Elemental demo compute shader takes ages to compile
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter airlied@freedesktop.org
QA Contact dri-devel@lists.freedesktop.org

Created at=
tachment 123804 [details]
compute shader and GLSL/TGSI/llvm IR.

After fixing the two GLSL bugs, I hit a case where one of the compute shade=
rs
in=20
ElementalDemo takes a long long time to compile and consumes a lot of memory
doing so.


#0  llvm::SUnit::addPred (this=3Dthis@entry=3D0x7fa8da02fae0, D=3D...,
Required=3DRequired@entry=3Dtrue)
    at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAG.cpp:67
#1  0x00007fa92c946d2d in llvm::ScheduleDAGInstrs::addPhysRegDataDeps
(this=3Dthis@entry=3D0x7fa9248d3840, SU=3DSU@entry=3D0x7fa8d9833c40=
,=20
    OperIdx=3DOperIdx@entry=3D8) at
/home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:318
#2  0x00007fa92c947198 in llvm::ScheduleDAGInstrs::addPhysRegDeps
(this=3Dthis@entry=3D0x7fa9248d3840, SU=3DSU@entry=3D0x7fa8d9833c40=
,=20
    OperIdx=3DOperIdx@entry=3D8) at
/home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:370
#3  0x00007fa92c94fd1e in llvm::ScheduleDAGInstrs::buildSchedGraph
(this=3Dthis@entry=3D0x7fa9248d3840, AA=3D0x7fa8e2e55b10,=20
    RPTracker=3DRPTracker@entry=3D0x0, PDiffs=3DPDiffs@entry=3D0x0,=
 LIS=3DLIS@entry=3D0x0,
TrackLaneMasks=3DTrackLaneMasks@entry=3Dfalse)
    at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:959
#4  0x00007fa92c8ff02b in (anonymous namespace)::SchedulePostRATDList::sche=
dule
(this=3Dthis@entry=3D0x7fa9248d3840)
    at /home/airlied/devel/llvm/lib/CodeGen/PostRASchedulerList.cpp:391
#5  0x00007fa92c8ffbbe in (anonymous
namespace)::PostRAScheduler::runOnMachineFunction (this=3D0x7fa8e284a500, F=
n=3D...)
    at /home/airlied/devel/llvm/lib/CodeGen/PostRASchedulerList.cpp:360
#6  0x00007fa92c880721 in llvm::MachineFunctionPass::runOnFunction
(this=3D0x7fa8e284a500, F=3D...)
    at /home/airlied/devel/llvm/lib/CodeGen/MachineFunctionPass.cpp:60


You are receiving this mail because:
  • You are the assignee for the bug.
= --14634504750.8F079F38.12239-- --===============1142548038== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1142548038==--