[LLVMbugs] [Bug 18142] New: SelectionDAGBuilder::handleBTSplitSwitchCase result depends on fp precision
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 4 20:21:09 PST 2013
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: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131205/2a26968d/attachment.html>
More information about the llvm-bugs
mailing list