[llvm-bugs] [Bug 37743] New: [SelectionDAG] SelectionDAGBuilder::visitSelect is missing SPF_ABS / SPF_NABS handling

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 8 02:19:39 PDT 2018


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

            Bug ID: 37743
           Summary: [SelectionDAG] SelectionDAGBuilder::visitSelect is
                    missing SPF_ABS / SPF_NABS handling
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: craig.topper at gmail.com, efriedma at codeaurora.org,
                    kparzysz at codeaurora.org, llvm-bugs at lists.llvm.org,
                    spatel+llvm at rotateright.com

Discussed in https://reviews.llvm.org/D47831, SelectionDAGBuilder::visitSelect
only handles the binary SelectPatternFlavor cases - we need to add unary
ABS/NABS support as well.

Also, is there any reason that FABS isn't a SelectPatternFlavor?

-- 
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/20180608/cba5ca12/attachment.html>


More information about the llvm-bugs mailing list