[LLVMbugs] [Bug 22168] New: simplifycfg does not transform simple condbr chains into switches

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 8 17:58:58 PST 2015


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

            Bug ID: 22168
           Summary: simplifycfg does not transform simple condbr chains
                    into switches
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: axwalk at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13652
  --> http://llvm.org/bugs/attachment.cgi?id=13652&action=edit
test program, simplified output of llgo on a Go source-level switch statement

The "simplifycfg" pass should convert chained conditional branches into switch
or select instructions wherever possible, to simplify frontends. The attached
program is not optimised in this way when passed through "opt -simplifycfg".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150109/99af5e17/attachment.html>


More information about the llvm-bugs mailing list