[llvm-bugs] [Bug 38544] New: [enableSubRegLiveness] Crashes on SPEC / SystemZ

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 13 07:41:27 PDT 2018


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

            Bug ID: 38544
           Summary: [enableSubRegLiveness]  Crashes on SPEC / SystemZ
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Register Allocator
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20689
  --> https://bugs.llvm.org/attachment.cgi?id=20689&action=edit
Patch that enables subreg liveness on SystemZ.

SystemZ has never gotten to enable subreg liveness, since benchmark immediately
fail to build.

About all SPEC benchmarks fail to build, when one of these two assertions
trigger:

RegisterCoalescer.cpp:2395: {anonymous}::JoinVals::ConflictResolution
{anonymous}::JoinVals::analyzeValue(unsigned int, {anonymous}::JoinVals&):
Assertion `DefMI != nullptr' failed.

VirtRegMap.cpp:366: bool {anonymous}::VirtRegRewriter::readsUndefSubreg(const
llvm::MachineOperand&) const: Assertion `SubRegIdx != 0 && LI.hasSubRanges()'
failed.

Please find attached a patch that enables subreg liveness on SystemZ, plus one
reduced test case for each of the assertions above.

Thanks for any help on this,

Jonas

-- 
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/20180813/98868fc8/attachment.html>


More information about the llvm-bugs mailing list