[LLVMbugs] [Bug 22271] New: instcombine select optimization speculates trapping fdiv

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 20 11:44:04 PST 2015


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

            Bug ID: 22271
           Summary: instcombine select optimization speculates trapping
                    fdiv
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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

The original source code does something like:

double minval = 1e-3;
double x = bar();
double y = std::max(x, minval);
double z = 4.0 / y;

instcombine does some transform that eliminates the select.

-- 
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/20150120/ca60f767/attachment.html>


More information about the llvm-bugs mailing list