OSDN Git Service

[X86][AVX] Fold extract_subvector(broadcast(x)) -> broadcast(x) iff x has one use
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Apr 2019 18:02:14 +0000 (18:02 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Apr 2019 18:02:14 +0000 (18:02 +0000)
commit4db70c21dc6455dd9daaad4a8c6c0f5e5230a435
tree2d97d4fcf03f5c2df4d9a11757c05c4530b6821c
parent05a31451d24619b709fb1e87e076ce62f1c5d3fd
[X86][AVX] Fold extract_subvector(broadcast(x)) -> broadcast(x) iff x has one use

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359332 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512-hadd-hsub.ll
test/CodeGen/X86/avx512-shuffles/partial_permute.ll
test/CodeGen/X86/vector-fshl-rot-256.ll
test/CodeGen/X86/vector-fshl-rot-512.ll
test/CodeGen/X86/vector-fshr-rot-256.ll
test/CodeGen/X86/vector-fshr-rot-512.ll
test/CodeGen/X86/vector-rotate-256.ll
test/CodeGen/X86/vector-rotate-512.ll