[llvm] r295735 - [X86][AVX] Rename shuffle combine tests to show combined shuffle type. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 08:45:31 PST 2017


Author: rksimon
Date: Tue Feb 21 10:45:31 2017
New Revision: 295735

URL: http://llvm.org/viewvc/llvm-project?rev=295735&view=rev
Log:
[X86][AVX] Rename shuffle combine tests to show combined shuffle type. NFCI.

Modified:
    llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx2.ll
    llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll

Modified: llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx2.ll?rev=295735&r1=295734&r2=295735&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx2.ll Tue Feb 21 10:45:31 2017
@@ -800,13 +800,13 @@ define <32 x i8> @combine_unpack_unpack_
   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_pshu
   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

Modified: llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll?rev=295735&r1=295734&r2=295735&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll Tue Feb 21 10:45:31 2017
@@ -1133,15 +1133,15 @@ define <16 x float> @combine_vpermi2var_
   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




More information about the llvm-commits mailing list