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

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 12 08:30:27 PDT 2020


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

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Resolving this, the vast majority of the cases in
TargetLowering::SimplifyDemandedBits now fully use the DemandedElts mask and
the few edge cases can be trivially implemented when the need arises.

The current plan is to keep TargetLowering::SimplifyDemandedVectorElts and not
to merge it, as it will help with future shuffle combines.

We also have TargetLowering::SimplifyMultipleUseDemandedBits which does act as
a multi-use pass through simplifier for both
SimplifyDemandedBits/SimplifyDemandedVectorElts.

-- 
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/20200412/a2a24232/attachment.html>


More information about the llvm-bugs mailing list