[LLVMbugs] [Bug 1323] NEW: switch lowering crash

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Apr 12 21:01:08 PDT 2007


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

           Summary: switch lowering crash
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


it looks like switch lowering is creating an invalid phi node.  To reproduce, use:

$ llvm-as < bugpoint-reduced-simplified.ll | llc -fast

This seems to only occur with -fast.  Maybe switch lowering depends on critical edges being split or 
something?  -fast is used for -O0 compiles.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list