[llvm-bugs] [Bug 38086] New: InstCombiner::visitSelectInst incorrectly checks for nsz on an fcmp

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 6 14:39:17 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: efriedma at codeaurora.org
                CC: llvm-bugs at lists.llvm.org, spatel+llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180706/e0c86f81/attachment.html>


More information about the llvm-bugs mailing list