[LLVMbugs] [Bug 685] NEW: Code generator should compile switch statements to jump tables

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 4 21:26:41 PST 2006


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=685

           Summary: Code generator should compile switch statements to jump
                    tables
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


The native code generators currently all lower switch statements to conditional branches.  They should 
lower them to jump tables if dense, bit selections if there are few distinct targets, and branches if sparse.

The pypy people really want this.

-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