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

Reply via email to