]> granicus.if.org Git - llvm/commit
[X86][SSE] SimplifyDemandedBits - call PEXTRB/PEXTRW SimplifyDemandedVectorElts as...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 11 May 2019 21:35:50 +0000 (21:35 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 11 May 2019 21:35:50 +0000 (21:35 +0000)
commitb5cd6c80310fda86e5fa4bbccd0eba016e9a025c
treec216b5a0e7201c096ff7dade2f07f024c1a937cf
parent3f91d2062407a68bfa663ff66d83f99c6b6754be
[X86][SSE] SimplifyDemandedBits - call PEXTRB/PEXTRW SimplifyDemandedVectorElts as well.

See if we can simplify the demanded vector elts from the extraction before trying to simplify the demanded bits.

This helps us with target shuffles and hops in particular.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360535 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/bitcast-vector-bool.ll
test/CodeGen/X86/horizontal-shuffle-demanded.ll
test/CodeGen/X86/masked_store.ll