[LLVMbugs] [Bug 21616] New: LowerSwitch pass fail weirdly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 20 08:06:42 PST 2014


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

            Bug ID: 21616
           Summary: LowerSwitch pass fail weirdly
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: julien.rinaldini at heig-vd.ch
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13378
  --> http://llvm.org/bugs/attachment.cgi?id=13378&action=edit
Test case

The LowerSwitch pass failed in some cases.

After some investigation, I found that the pass fails because of the "case
'9':". If I remove this case, everything works fine.

I'm not sure, but I think it comes from the clustering part of the pass. the
caracter '9' and the caracter ':' follow each other in the ascii table, so it
try to cluster it together (but they don't have the same BB successor).

ps: my LLVM version is the 3.5 release (but didn't appear in the 'version'
field).

-- 
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/20141120/83460491/attachment.html>


More information about the llvm-bugs mailing list