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

            Bug ID: 18142
           Summary: SelectionDAGBuilder::handleBTSplitSwitchCase result
                    depends on fp precision
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This function uses floating point to decide to handle a switch. In r129199 and
r196462 it was hacked to use volatile double to try to produce reproducible
results, but it should really not be using floating point.

This code is probably not too hot, so a possible option is to implement 
something like http://www.boost.org/doc/libs/1_55_0/libs/rational/rational.html
on top of APInt.

-- 
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