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

Reply via email to