[LLVMbugs] [Bug 14302] New: misched asserts on powerpc: problems with regmasks

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 9 08:58:50 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14302

             Bug #: 14302
           Summary: misched asserts on powerpc: problems with regmasks
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9511
  --> http://llvm.org/bugs/attachment.cgi?id=9511
bugpoint reduced test case

The new machine-instruction scheduling infrastructure currently does not work
with the PowerPC backend; Something about the way the register masks are
handled is not quite right.

I've attached a small test case. This asserts with:
/src/llvm-trunk-writable/lib/CodeGen/LiveIntervalAnalysis.cpp:1260: void
llvm::LiveIntervals::HMEditor::updateRegMaskSlots(): Assertion `*RI == OldIdx
&& "No RegMask at OldIdx."' failed.
...
8  llc             0x0000000000ba92a8
llvm::LiveIntervals::handleMove(llvm::MachineInstr*, bool) + 632
9  llc             0x0000000000c1fabb
llvm::ScheduleDAGMI::moveInstruction(llvm::MachineInstr*,
llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr,
llvm::ilist_iterator<llvm::MachineInstr> >) + 91
10 llc             0x0000000000c2006e
llvm::ScheduleDAGMI::scheduleMI(llvm::SUnit*, bool) + 510
11 llc             0x0000000000c23029 llvm::ScheduleDAGMI::schedule() + 121

This is r167618 running: llc -enable-misched

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list