summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-02-21 16:45:31 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-02-21 16:45:31 +0000
commitf321ab6dd2efb0d511f5f560fc862d507f2a08c7 (patch)
tree15f13cf6e03c967f7f05c44b994f50cdc72c3e67
parentcfd4f9cfec20b75476a6eadeb16f800c0365b887 (diff)
downloadbcm5719-llvm-f321ab6dd2efb0d511f5f560fc862d507f2a08c7.tar.gz
bcm5719-llvm-f321ab6dd2efb0d511f5f560fc862d507f2a08c7.zip
[X86][AVX] Rename shuffle combine tests to show combined shuffle type. NFCI.
llvm-svn: 295735
-rw-r--r--llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll12
-rw-r--r--llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll6
2 files changed, 9 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll b/llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll
index e1a52e9d3ac..f9093ce2013 100644
--- a/llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll
+++ b/llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll
@@ -800,13 +800,13 @@ define <32 x i8> @combine_unpack_unpack_pshufb(<32 x i8> %a0) {
ret <32 x i8> %6
}
-define <16 x i8> @combine_broadcast_pshufb_insertion_v2i64(i64 %a0) {
-; X32-LABEL: combine_broadcast_pshufb_insertion_v2i64:
+define <16 x i8> @combine_pshufb_insertion_as_broadcast_v2i64(i64 %a0) {
+; X32-LABEL: combine_pshufb_insertion_as_broadcast_v2i64:
; X32: # BB#0:
; X32-NEXT: vpbroadcastq {{[0-9]+}}(%esp), %xmm0
; X32-NEXT: retl
;
-; X64-LABEL: combine_broadcast_pshufb_insertion_v2i64:
+; X64-LABEL: combine_pshufb_insertion_as_broadcast_v2i64:
; X64: # BB#0:
; X64-NEXT: vmovq %rdi, %xmm0
; X64-NEXT: vpbroadcastq %xmm0, %xmm0
@@ -817,13 +817,13 @@ define <16 x i8> @combine_broadcast_pshufb_insertion_v2i64(i64 %a0) {
ret <16 x i8> %3
}
-define <8 x i32> @combine_broadcast_permd_insertion_v4i64(i64 %a0) {
-; X32-LABEL: combine_broadcast_permd_insertion_v4i64:
+define <8 x i32> @combine_permd_insertion_as_broadcast_v4i64(i64 %a0) {
+; X32-LABEL: combine_permd_insertion_as_broadcast_v4i64:
; X32: # BB#0:
; X32-NEXT: vbroadcastsd {{[0-9]+}}(%esp), %ymm0
; X32-NEXT: retl
;
-; X64-LABEL: combine_broadcast_permd_insertion_v4i64:
+; X64-LABEL: combine_permd_insertion_as_broadcast_v4i64:
; X64: # BB#0:
; X64-NEXT: vmovq %rdi, %xmm0
; X64-NEXT: vpbroadcastq %xmm0, %ymm0
diff --git a/llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll b/llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll
index 9d675f64f86..58451d3760e 100644
--- a/llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll
+++ b/llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll
@@ -1133,15 +1133,15 @@ define <16 x float> @combine_vpermi2var_vpermvar_16f32_as_vperm2_zero(<16 x floa
ret <16 x float> %res1
}
-define <8 x i64> @combine_broadcast_vpermvar_insertion_v8i64(i64 %a0) {
-; X32-LABEL: combine_broadcast_vpermvar_insertion_v8i64:
+define <8 x i64> @combine_vpermvar_insertion_as_broadcast_v8i64(i64 %a0) {
+; X32-LABEL: combine_vpermvar_insertion_as_broadcast_v8i64:
; X32: # BB#0:
; X32-NEXT: vmovq {{.*#+}} xmm1 = mem[0],zero
; X32-NEXT: vpxord %zmm0, %zmm0, %zmm0
; X32-NEXT: vpermi2q %zmm0, %zmm1, %zmm0
; X32-NEXT: retl
;
-; X64-LABEL: combine_broadcast_vpermvar_insertion_v8i64:
+; X64-LABEL: combine_vpermvar_insertion_as_broadcast_v8i64:
; X64: # BB#0:
; X64-NEXT: vmovq %rdi, %xmm1
; X64-NEXT: vpxord %zmm0, %zmm0, %zmm0
OpenPOWER on IntegriCloud