[llvm] r332892 - [X86] Remove some unneeded check lines that I copy and pasted when I made vector tests from some scalar test cases.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 14:01:13 PDT 2018


Author: ctopper
Date: Mon May 21 14:01:13 2018
New Revision: 332892

URL: http://llvm.org/viewvc/llvm-project?rev=332892&view=rev
Log:
[X86] Remove some unneeded check lines that I copy and pasted when I made vector tests from some scalar test cases.

Modified:
    llvm/trunk/test/CodeGen/X86/combine-rotates.ll

Modified: llvm/trunk/test/CodeGen/X86/combine-rotates.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/combine-rotates.ll?rev=332892&r1=332891&r2=332892&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/combine-rotates.ll (original)
+++ llvm/trunk/test/CodeGen/X86/combine-rotates.ll Mon May 21 14:01:13 2018
@@ -59,13 +59,6 @@ define <4 x i32> @combine_vec_rot_rot_sp
 }
 
 define <4 x i32> @rotate_demanded_bits(<4 x i32>, <4 x i32>) {
-; CHECK-LABEL: rotate_demanded_bits:
-; CHECK:       # %bb.0:
-; CHECK-NEXT:    andb $30, %sil
-; CHECK-NEXT:    movl %esi, %ecx
-; CHECK-NEXT:    roll %cl, %edi
-; CHECK-NEXT:    movl %edi, %eax
-; CHECK-NEXT:    retq
 ; XOP-LABEL: rotate_demanded_bits:
 ; XOP:       # %bb.0:
 ; XOP-NEXT:    vmovdqa {{.*#+}} xmm2 = [30,30,30,30]
@@ -100,13 +93,6 @@ define <4 x i32> @rotate_demanded_bits(<
 }
 
 define <4 x i32> @rotate_demanded_bits_2(<4 x i32>, <4 x i32>) {
-; CHECK-LABEL: rotate_demanded_bits_2:
-; CHECK:       # %bb.0:
-; CHECK-NEXT:    andb $23, %sil
-; CHECK-NEXT:    movl %esi, %ecx
-; CHECK-NEXT:    roll %cl, %edi
-; CHECK-NEXT:    movl %edi, %eax
-; CHECK-NEXT:    retq
 ; XOP-LABEL: rotate_demanded_bits_2:
 ; XOP:       # %bb.0:
 ; XOP-NEXT:    vpand {{.*}}(%rip), %xmm1, %xmm1
@@ -128,14 +114,6 @@ define <4 x i32> @rotate_demanded_bits_2
 }
 
 define <4 x i32> @rotate_demanded_bits_3(<4 x i32>, <4 x i32>) {
-; CHECK-LABEL: rotate_demanded_bits_3:
-; CHECK:       # %bb.0:
-; CHECK-NEXT:    addb %sil, %sil
-; CHECK-NEXT:    andb $30, %sil
-; CHECK-NEXT:    movl %esi, %ecx
-; CHECK-NEXT:    roll %cl, %edi
-; CHECK-NEXT:    movl %edi, %eax
-; CHECK-NEXT:    retq
 ; XOP-LABEL: rotate_demanded_bits_3:
 ; XOP:       # %bb.0:
 ; XOP-NEXT:    vpaddd %xmm1, %xmm1, %xmm1




More information about the llvm-commits mailing list