From d0be5ae522af6093c29a81d0ba8a117169edb96f Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 21 Feb 2017 16:45:31 +0000 Subject: [PATCH] [X86][AVX] Rename shuffle combine tests to show combined shuffle type. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295735 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/vector-shuffle-combining-avx2.ll | 12 ++++++------ .../CodeGen/X86/vector-shuffle-combining-avx512bw.ll | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/CodeGen/X86/vector-shuffle-combining-avx2.ll b/test/CodeGen/X86/vector-shuffle-combining-avx2.ll index e1a52e9d3ac..f9093ce2013 100644 --- a/test/CodeGen/X86/vector-shuffle-combining-avx2.ll +++ b/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/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll b/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll index 9d675f64f86..58451d3760e 100644 --- a/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll +++ b/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