[LLVMbugs] [Bug 13625] New: Select peephole optimized is buggy

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 17 05:42:09 PDT 2012


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

             Bug #: 13625
           Summary: Select peephole optimized is buggy
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9067
  --> http://llvm.org/bugs/attachment.cgi?id=9067
Testcase

Consider the attached code.

Compiling with llc -mcpu=cortex-a9 triggers the assertion on Release+Asserts
mode and just crashes in Debug mode. valgrind says we have
MachineBasicBlock::end() dereference here. The pattern is pretty common - 75%
of code I have here yield compiler crash...

Removing isSelect from MOVCCr hides the problem.

-- 
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