[ValueTracking] Add computeKnownBits DemandedElts support to EXTRACTELEMENT/OR/BSWAP...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 18 Mar 2020 18:49:45 +0000 (18:49 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 18 Mar 2020 18:49:58 +0000 (18:49 +0000)
commit1010c44b4c0e32afb49597ac67f1d0768de8265f
tree71c951a1d6e90b2622e74df4abd9914fe61211c5
parent6f79f80e6e473e1b28ee678cc11bc44efb2448a4
[ValueTracking] Add computeKnownBits DemandedElts support to EXTRACTELEMENT/OR/BSWAP/BITREVERSE instructions (PR36319)

These are all covered by the bswap/bitreverse vector tests.
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstSimplify/bitreverse.ll
llvm/test/Transforms/InstSimplify/bswap.ll