diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-07 18:48:40 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-07 18:48:40 +0000 |
commit | 02c2ecf9f166522cc1c58dd484668c1cbacc0c6e (patch) | |
tree | 0721321259962df552b6c98dce098a5cda4a7a9f /test/CodeGen/X86/avx-shift.ll | |
parent | 784ae47413e1adf3b64ed5546f88b39ab52a9281 (diff) | |
download | llvm-02c2ecf9f166522cc1c58dd484668c1cbacc0c6e.tar.gz llvm-02c2ecf9f166522cc1c58dd484668c1cbacc0c6e.tar.bz2 llvm-02c2ecf9f166522cc1c58dd484668c1cbacc0c6e.tar.xz |
X86: Fold EXTRACT_SUBVECTORs of a BUILD_VECTOR into a smaller BUILD_VECTOR.
That can usually be lowered efficiently and is common in sandybridge code.
It would be nice to do this in DAGCombiner but we can't insert arbitrary
BUILD_VECTORs this late.
Fixes PR15462.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx-shift.ll')
-rw-r--r-- | test/CodeGen/X86/avx-shift.ll | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avx-shift.ll b/test/CodeGen/X86/avx-shift.ll index b0bff454c1..01eb7361e2 100644 --- a/test/CodeGen/X86/avx-shift.ll +++ b/test/CodeGen/X86/avx-shift.ll @@ -105,7 +105,6 @@ define <32 x i8> @vshift12(<32 x i8> %a) nounwind readnone { ; CHECK: _vshift08 ; CHECK: vextractf128 $1 ; CHECK: vpslld $23 -; CHECK: vextractf128 $1 ; CHECK: vpslld $23 define <8 x i32> @vshift08(<8 x i32> %a) nounwind { %bitop = shl <8 x i32> <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>, %a |