[llvm-bugs] [Bug 33159] New: Assertion since [AMDGPU] Fix incorrect register pressure calculation

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 24 13:54:34 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33159

            Bug ID: 33159
           Summary: Assertion since [AMDGPU] Fix incorrect register
                    pressure calculation
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: adf.lists at gmail.com
                CC: llvm-bugs at lists.llvm.org

Testing with r9285 Tonga since 

commit 87fd46af9024ab56a9679ce32aed0965bab69d56
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date:   Thu May 11 17:16:55 2017 +0000

    [AMDGPU] Fix incorrect register pressure calculation

    Earlier fix D32572 introduced a bug where live-ins were calculated
    for basic block instead of scheduling region. This change fixes it.

    Differential Revision: https://reviews.llvm.org/D33086

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302812
91177308-0d34-0410-b5e6-96231b3b80d8

I get an assertion with Unreal Tournament alpha.

The game loads and some tutorials work, but since above the death match
tutorial bails. It was never perfect (some scenery sometimes rendered black) -
but it was mostly OK - it is an alpha game.

UE4-Linux-Shipping: /mnt/sdb1/Gits/llvm/lib/CodeGen/LiveRangeEdit.cpp:258: void
llvm::LiveRangeEdit::eliminateDeadDef(llvm::MachineInstr*,
llvm::LiveRangeEdit::ToShrinkSet&, llvm::AliasAnalysis*): Assertion
`MI->allDefsAreDead() && "Def isn't really dead"' failed.
Signal 6 caught.

Attached output assert with R600_DEBUG=vs,ps,fs bz2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170524/448a6f38/attachment.html>


More information about the llvm-bugs mailing list