[Bug 95438] Elemental demo compute shader takes ages to compile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 17 02:01:15 UTC 2016


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

            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 at lists.freedesktop.org
          Reporter: airlied at freedesktop.org
        QA Contact: dri-devel at lists.freedesktop.org

Created attachment 123804
  --> https://bugs.freedesktop.org/attachment.cgi?id=123804&action=edit
compute shader and GLSL/TGSI/llvm IR.

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


#0  llvm::SUnit::addPred (this=this at entry=0x7fa8da02fae0, D=...,
Required=Required at entry=true)
    at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAG.cpp:67
#1  0x00007fa92c946d2d in llvm::ScheduleDAGInstrs::addPhysRegDataDeps
(this=this at entry=0x7fa9248d3840, SU=SU at entry=0x7fa8d9833c40, 
    OperIdx=OperIdx at entry=8) at
/home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:318
#2  0x00007fa92c947198 in llvm::ScheduleDAGInstrs::addPhysRegDeps
(this=this at entry=0x7fa9248d3840, SU=SU at entry=0x7fa8d9833c40, 
    OperIdx=OperIdx at entry=8) at
/home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:370
#3  0x00007fa92c94fd1e in llvm::ScheduleDAGInstrs::buildSchedGraph
(this=this at entry=0x7fa9248d3840, AA=0x7fa8e2e55b10, 
    RPTracker=RPTracker at entry=0x0, PDiffs=PDiffs at entry=0x0, LIS=LIS at entry=0x0,
TrackLaneMasks=TrackLaneMasks at entry=false)
    at /home/airlied/devel/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:959
#4  0x00007fa92c8ff02b in (anonymous namespace)::SchedulePostRATDList::schedule
(this=this at entry=0x7fa9248d3840)
    at /home/airlied/devel/llvm/lib/CodeGen/PostRASchedulerList.cpp:391
#5  0x00007fa92c8ffbbe in (anonymous
namespace)::PostRAScheduler::runOnMachineFunction (this=0x7fa8e284a500, Fn=...)
    at /home/airlied/devel/llvm/lib/CodeGen/PostRASchedulerList.cpp:360
#6  0x00007fa92c880721 in llvm::MachineFunctionPass::runOnFunction
(this=0x7fa8e284a500, F=...)
    at /home/airlied/devel/llvm/lib/CodeGen/MachineFunctionPass.cpp:60

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160517/f69f8596/attachment.html>


More information about the dri-devel mailing list