[llvm] 1f6150f - [X86] pr53419.ll - cleanup check-prefixes. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 29 12:15:07 PST 2023


Author: Simon Pilgrim
Date: 2023-01-29T20:14:51Z
New Revision: 1f6150ff520c1c84f5e71df898529fa22b1f0e41

URL: https://github.com/llvm/llvm-project/commit/1f6150ff520c1c84f5e71df898529fa22b1f0e41
DIFF: https://github.com/llvm/llvm-project/commit/1f6150ff520c1c84f5e71df898529fa22b1f0e41.diff

LOG: [X86] pr53419.ll - cleanup check-prefixes. NFC.

Avoid using CHECK unless its for all possible RUNs

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/pr53419.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/pr53419.ll b/llvm/test/CodeGen/X86/pr53419.ll
index e24b39ba1082..92203f61eae8 100644
--- a/llvm/test/CodeGen/X86/pr53419.ll
+++ b/llvm/test/CodeGen/X86/pr53419.ll
@@ -1,8 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+sse2   | FileCheck %s --check-prefixes=CHECK,SSE,SSE2
-; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+sse4.2 | FileCheck %s --check-prefixes=CHECK,SSE,SSE42
-; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx    | FileCheck %s --check-prefixes=CHECK,AVX
-; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx2   | FileCheck %s --check-prefixes=CHECK,AVX
+; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+sse2   | FileCheck %s --check-prefixes=X64,SSE,SSE2
+; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+sse4.2 | FileCheck %s --check-prefixes=X64,SSE,SSE42
+; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx    | FileCheck %s --check-prefixes=X64,AVX
+; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx2   | FileCheck %s --check-prefixes=X64,AVX
 ; RUN: llc < %s -mtriple=i686-unknown   -mattr=+avx2   | FileCheck %s --check-prefixes=X86
 
 declare i1 @llvm.vector.reduce.and.v4i1(<4 x i1>)
@@ -152,12 +152,12 @@ bb:
 }
 
 define i1 @mixed_version_v4i8(ptr align 1 %arg, ptr align 1 %arg1) {
-; CHECK-LABEL: mixed_version_v4i8:
-; CHECK:       # %bb.0: # %bb
-; CHECK-NEXT:    movl (%rsi), %eax
-; CHECK-NEXT:    cmpl (%rdi), %eax
-; CHECK-NEXT:    sete %al
-; CHECK-NEXT:    retq
+; X64-LABEL: mixed_version_v4i8:
+; X64:       # %bb.0: # %bb
+; X64-NEXT:    movl (%rsi), %eax
+; X64-NEXT:    cmpl (%rdi), %eax
+; X64-NEXT:    sete %al
+; X64-NEXT:    retq
 ;
 ; X86-LABEL: mixed_version_v4i8:
 ; X86:       # %bb.0: # %bb
@@ -177,12 +177,12 @@ bb:
 }
 
 define i1 @mixed_version_v8i8(ptr align 1 %arg, ptr align 1 %arg1) {
-; CHECK-LABEL: mixed_version_v8i8:
-; CHECK:       # %bb.0: # %bb
-; CHECK-NEXT:    movq (%rsi), %rax
-; CHECK-NEXT:    cmpq (%rdi), %rax
-; CHECK-NEXT:    sete %al
-; CHECK-NEXT:    retq
+; X64-LABEL: mixed_version_v8i8:
+; X64:       # %bb.0: # %bb
+; X64-NEXT:    movq (%rsi), %rax
+; X64-NEXT:    cmpq (%rdi), %rax
+; X64-NEXT:    sete %al
+; X64-NEXT:    retq
 ;
 ; X86-LABEL: mixed_version_v8i8:
 ; X86:       # %bb.0: # %bb
@@ -205,12 +205,12 @@ bb:
 }
 
 define i1 @scalar_version(ptr align 1 %arg, ptr align 1 %arg1) {
-; CHECK-LABEL: scalar_version:
-; CHECK:       # %bb.0: # %bb
-; CHECK-NEXT:    movl (%rsi), %eax
-; CHECK-NEXT:    cmpl (%rdi), %eax
-; CHECK-NEXT:    sete %al
-; CHECK-NEXT:    retq
+; X64-LABEL: scalar_version:
+; X64:       # %bb.0: # %bb
+; X64-NEXT:    movl (%rsi), %eax
+; X64-NEXT:    cmpl (%rdi), %eax
+; X64-NEXT:    sete %al
+; X64-NEXT:    retq
 ;
 ; X86-LABEL: scalar_version:
 ; X86:       # %bb.0: # %bb


        


More information about the llvm-commits mailing list