https://bugs.llvm.org/show_bug.cgi?id=38086

            Bug ID: 38086
           Summary: InstCombiner::visitSelectInst incorrectly checks for
                    nsz on an fcmp
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedb...@nondot.org
          Reporter: efrie...@codeaurora.org
                CC: llvm-bugs@lists.llvm.org, spatel+l...@rotateright.com

nsz doesn't affect the result of an fcmp.

Not sure what the right solution is here... should we put fast-math flags on
selects?  Check some function-global flag? Check if the result of the select is
used by an nsz operation?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to