]> granicus.if.org Git - llvm/commit
[X86] combineExtractWithShuffle - handle extract(truncate(x), 0)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 16 Aug 2019 17:35:08 +0000 (17:35 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 16 Aug 2019 17:35:08 +0000 (17:35 +0000)
commit3e262a8f4187cb33d32d4e3e08bb718192bdd1ae
treee7531ea9784ee9ec768ead669b6718b67d2e23c0
parent25e54c0ef9733de68961fe87b3c197d774da21b1
[X86] combineExtractWithShuffle - handle extract(truncate(x), 0)

Eventually we need to generalize combineExtractWithShuffle to handle all faux shuffles and handle truncate (and X86ISD::VTRUNC etc.) there, but we're not ready yet (still creates nodes on the fly, incomplete DemandedElts support, bad use of recursive Depth limit).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369134 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-reduce-mul.ll