[DAG] Add SimplifyMultipleUseDemandedVectorElts helper for SimplifyMultipleUseDemande...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 22 Jun 2020 13:17:02 +0000 (14:17 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 22 Jun 2020 13:24:39 +0000 (14:24 +0100)
commit48d1a2d6d06e41b6dc8ff7bdf4a1277120367dc7
treec96484a49b7063be76204542cd55d6c4d6f68044
parentf570d5810485fa6fb2e1009f795a899d79bd429f
[DAG] Add SimplifyMultipleUseDemandedVectorElts helper for SimplifyMultipleUseDemandedBits. NFCI.

We have many cases where we call SimplifyMultipleUseDemandedBits and demand specific vector elements, but all the bits from them - this adds a helper wrapper to handle this.
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp