]> granicus.if.org Git - llvm/commit
[X86] isHorizontalBinOp - add extract_subvector(shuffle(x)) handling (PR39921)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 2 Jun 2019 15:47:49 +0000 (15:47 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 2 Jun 2019 15:47:49 +0000 (15:47 +0000)
commitce6822da16be106176b491e25e186b35528e6df2
tree71f41305ad89a97e61fff3ae4db8c85338d0c6aa
parent64e7c2891ac52e819441960c092bb8396eab2e02
[X86] isHorizontalBinOp - add extract_subvector(shuffle(x)) handling (PR39921)

Let's us match horizontal op patterns on fast-variable-shuffle targets (Haswell etc.)

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