[DAG] SimplifyDemandedBits - attempt to use SimplifyMultipleUseDemandedBits for bitca...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 18 Jul 2023 17:12:02 +0000 (18:12 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 18 Jul 2023 17:38:03 +0000 (18:38 +0100)
commitd7eb9240c0dd4f67f12116e8af4918261e0391b1
tree0e3354e2b4d7ca75d89f6132faa3adf892bf34eb
parentecd691750648b72b9e0ce6879fcfa60396693a77
[DAG] SimplifyDemandedBits - attempt to use SimplifyMultipleUseDemandedBits for bitcasts from larger element types

Attempt to avoid multi-use ops if the bitcast doesn't need anything from them.
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/X86/srem-seteq-illegal-types.ll
llvm/test/CodeGen/X86/vec_setcc.ll
llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll