[llvm] ccb2810 - [X86] anyext.ll - replace X32 check prefixes with X86

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 06:23:31 PST 2024


Author: Simon Pilgrim
Date: 2024-01-29T14:23:08Z
New Revision: ccb2810ee33588ad0707e51bb31af8fec5e39f76

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

LOG: [X86] anyext.ll - replace X32 check prefixes with X86

We try to only use X32 for gnux32 triple tests.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/anyext.ll b/llvm/test/CodeGen/X86/anyext.ll
index 7833658ff908e8..ec23948d1a431f 100644
--- a/llvm/test/CodeGen/X86/anyext.ll
+++ b/llvm/test/CodeGen/X86/anyext.ll
@@ -1,17 +1,17 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefix=X86
 ; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s --check-prefix=X64
 
 ; Use movzbl to avoid partial-register updates.
 
 define i32 @foo(i32 %p, i8 zeroext %x) nounwind {
-; X32-LABEL: foo:
-; X32:       # %bb.0:
-; X32-NEXT:    movzbl {{[0-9]+}}(%esp), %eax
-; X32-NEXT:    divb {{[0-9]+}}(%esp)
-; X32-NEXT:    movzbl %al, %eax
-; X32-NEXT:    andl $1, %eax
-; X32-NEXT:    retl
+; X86-LABEL: foo:
+; X86:       # %bb.0:
+; X86-NEXT:    movzbl {{[0-9]+}}(%esp), %eax
+; X86-NEXT:    divb {{[0-9]+}}(%esp)
+; X86-NEXT:    movzbl %al, %eax
+; X86-NEXT:    andl $1, %eax
+; X86-NEXT:    retl
 ;
 ; X64-LABEL: foo:
 ; X64:       # %bb.0:
@@ -28,14 +28,14 @@ define i32 @foo(i32 %p, i8 zeroext %x) nounwind {
 }
 
 define i32 @bar(i32 %p, i16 zeroext %x) nounwind {
-; X32-LABEL: bar:
-; X32:       # %bb.0:
-; X32-NEXT:    movzwl {{[0-9]+}}(%esp), %eax
-; X32-NEXT:    xorl %edx, %edx
-; X32-NEXT:    divw {{[0-9]+}}(%esp)
-; X32-NEXT:    # kill: def $ax killed $ax def $eax
-; X32-NEXT:    andl $1, %eax
-; X32-NEXT:    retl
+; X86-LABEL: bar:
+; X86:       # %bb.0:
+; X86-NEXT:    movzwl {{[0-9]+}}(%esp), %eax
+; X86-NEXT:    xorl %edx, %edx
+; X86-NEXT:    divw {{[0-9]+}}(%esp)
+; X86-NEXT:    # kill: def $ax killed $ax def $eax
+; X86-NEXT:    andl $1, %eax
+; X86-NEXT:    retl
 ;
 ; X64-LABEL: bar:
 ; X64:       # %bb.0:


        


More information about the llvm-commits mailing list