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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to