[llvm-bugs] [Bug 40000] New: [DAGCombine] Add DemandedElts to SimplifyDemandedBits

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 13 06:42:18 PST 2018


            Bug ID: 40000
           Summary: [DAGCombine] Add DemandedElts to SimplifyDemandedBits
           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: andrea.dibiagio at gmail.com, llvm-bugs at lists.llvm.org,
                    spatel+llvm at rotateright.com

We currently have 2 simplification combine helpers:

SimplifyDemandedBits - demand specific bits from every vector element (or
SimplifyDemandedVectorElts - demand specific vector elements

This would be be a lot more powerful if we could merge these, adding a
DemandedElts argument to SimplifyDemandedBits and moving the
SimplifyDemandedVectorElts functionality into it as well.

This would also match what we've already done to computeKnownBits and
ComputeNumSignBits, allowing all of these functions to work together properly.

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/20181213/f92dd8de/attachment.html>

More information about the llvm-bugs mailing list