diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-07 19:01:13 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-07 19:01:13 +0000 |
commit | e4ccfef809a1a47f1386bb2767b8c77e64644435 (patch) | |
tree | 7263b6bbf64a58b191abd551ff729246e1320d79 /test/CodeGen/X86/avx-splat.ll | |
parent | 8ddc5a192935728c15602a4c15501e35f116422d (diff) | |
download | llvm-e4ccfef809a1a47f1386bb2767b8c77e64644435.tar.gz llvm-e4ccfef809a1a47f1386bb2767b8c77e64644435.tar.bz2 llvm-e4ccfef809a1a47f1386bb2767b8c77e64644435.tar.xz |
X86: Prefer using VPSHUFD over VPERMIL because it has better throughput.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx-splat.ll')
-rw-r--r-- | test/CodeGen/X86/avx-splat.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/avx-splat.ll b/test/CodeGen/X86/avx-splat.ll index 5ad75236e1..67e4b40810 100644 --- a/test/CodeGen/X86/avx-splat.ll +++ b/test/CodeGen/X86/avx-splat.ll @@ -84,7 +84,7 @@ define <8 x float> @funcF(i32 %val) nounwind { ret <8 x float> %tmp } -; CHECK: vpermilps $0 +; CHECK: vpshufd $0 ; CHECK-NEXT: vinsertf128 $1 define <8 x float> @funcG(<8 x float> %a) nounwind uwtable readnone ssp { entry: @@ -93,7 +93,7 @@ entry: } ; CHECK: vextractf128 $1 -; CHECK-NEXT: vpermilps $85 +; CHECK-NEXT: vpshufd ; CHECK-NEXT: vinsertf128 $1 define <8 x float> @funcH(<8 x float> %a) nounwind uwtable readnone ssp { entry: |