https://bugs.llvm.org/show_bug.cgi?id=40000
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: unassignedb...@nondot.org
Reporter: llvm-...@redking.me.uk
CC: andrea.dibia...@gmail.com, llvm-bugs@lists.llvm.org,
spatel+l...@rotateright.com
We currently have 2 simplification combine helpers:
SimplifyDemandedBits - demand specific bits from every vector element (or
scalar)
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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs