[llvm] 0187421 - [X86] isel-brcond-icmp.ll - regenerate checks and add missing X86 test coverage

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue May 13 09:16:12 PDT 2025


Author: Simon Pilgrim
Date: 2025-05-13T17:15:54+01:00
New Revision: 0187421a8abd25efd79379955771171f86f76367

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

LOG: [X86] isel-brcond-icmp.ll - regenerate checks and add missing X86 test coverage

Add split X86 SDAG/FASTISEL check prefixes

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/isel-brcond-icmp.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/isel-brcond-icmp.ll b/llvm/test/CodeGen/X86/isel-brcond-icmp.ll
index 59a45d9d72f5b..675ae02d79ba2 100644
--- a/llvm/test/CodeGen/X86/isel-brcond-icmp.ll
+++ b/llvm/test/CodeGen/X86/isel-brcond-icmp.ll
@@ -2,8 +2,8 @@
 ; RUN: llc < %s -global-isel=0                    -mtriple=x86_64-apple-darwin10 -verify-machineinstrs | FileCheck %s --check-prefixes=X64,SDAG
 ; RUN: llc < %s -fast-isel -fast-isel-abort=1     -mtriple=x86_64-apple-darwin10 -verify-machineinstrs | FileCheck %s --check-prefixes=X64,FASTISEL
 ; RUN: llc < %s -global-isel -global-isel-abort=1 -mtriple=x86_64-apple-darwin10 -verify-machineinstrs | FileCheck %s --check-prefixes=GISEL-X64
-; RUN: llc < %s -global-isel=0                    -mtriple=i686-apple-darwin10   -verify-machineinstrs | FileCheck %s --check-prefixes=X86,SDAG
-; RUN: llc < %s -fast-isel -fast-isel-abort=1     -mtriple=i686-apple-darwin10   -verify-machineinstrs | FileCheck %s --check-prefixes=X86,FASTISEL
+; RUN: llc < %s -global-isel=0                    -mtriple=i686-apple-darwin10   -verify-machineinstrs | FileCheck %s --check-prefixes=X86,SDAG,SDAG-X86
+; RUN: llc < %s -fast-isel -fast-isel-abort=1     -mtriple=i686-apple-darwin10   -verify-machineinstrs | FileCheck %s --check-prefixes=X86,FASTISEL,FASTISEL-X86
 ; RUN: llc < %s -global-isel -global-isel-abort=1 -mtriple=i686-apple-darwin10   -verify-machineinstrs | FileCheck %s --check-prefixes=GISEL-X86
 
 define i32 @icmp_eq_2(i32 %x, i32 %y) {
@@ -31,17 +31,29 @@ define i32 @icmp_eq_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_eq_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jne LBB0_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB0_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_eq_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jne LBB0_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB0_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_eq_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jne LBB0_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB0_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_eq_2:
 ; GISEL-X86:       ## %bb.0:
@@ -89,17 +101,29 @@ define i32 @icmp_ne_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_ne_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    je LBB1_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB1_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_ne_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    je LBB1_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB1_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_ne_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    je LBB1_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB1_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_ne_2:
 ; GISEL-X86:       ## %bb.0:
@@ -147,17 +171,29 @@ define i32 @icmp_ugt_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_ugt_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jbe LBB2_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB2_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_ugt_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jbe LBB2_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB2_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_ugt_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jbe LBB2_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB2_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_ugt_2:
 ; GISEL-X86:       ## %bb.0:
@@ -205,17 +241,29 @@ define i32 @icmp_uge_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_uge_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jb LBB3_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB3_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_uge_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jb LBB3_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB3_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_uge_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jb LBB3_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB3_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_uge_2:
 ; GISEL-X86:       ## %bb.0:
@@ -263,17 +311,29 @@ define i32 @icmp_ult_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_ult_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jae LBB4_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB4_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_ult_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jae LBB4_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB4_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_ult_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jae LBB4_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB4_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_ult_2:
 ; GISEL-X86:       ## %bb.0:
@@ -321,17 +381,29 @@ define i32 @icmp_ule_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_ule_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    ja LBB5_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB5_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_ule_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    ja LBB5_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB5_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_ule_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    ja LBB5_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB5_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_ule_2:
 ; GISEL-X86:       ## %bb.0:
@@ -379,17 +451,29 @@ define i32 @icmp_sgt_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_sgt_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jle LBB6_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB6_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_sgt_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jle LBB6_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB6_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_sgt_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jle LBB6_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB6_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_sgt_2:
 ; GISEL-X86:       ## %bb.0:
@@ -437,17 +521,29 @@ define i32 @icmp_sge_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_sge_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jl LBB7_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB7_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_sge_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jl LBB7_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB7_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_sge_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jl LBB7_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB7_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_sge_2:
 ; GISEL-X86:       ## %bb.0:
@@ -495,17 +591,29 @@ define i32 @icmp_slt_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_slt_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jge LBB8_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB8_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_slt_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jge LBB8_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB8_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_slt_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jge LBB8_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB8_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_slt_2:
 ; GISEL-X86:       ## %bb.0:
@@ -553,17 +661,29 @@ define i32 @icmp_sle_2(i32 %x, i32 %y) {
 ; GISEL-X64-NEXT:    movl $1, %eax
 ; GISEL-X64-NEXT:    retq
 ;
-; X86-LABEL: icmp_sle_2:
-; X86:       ## %bb.0:
-; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT:    cmpl {{[0-9]+\(%esp\), %eax|%eax, [0-9]+\(%esp\)}}
-; X86-NEXT:    jg LBB9_1
-; X86-NEXT:  ## %bb.2: ## %bb1
-; X86-NEXT:    xorl %eax, %eax
-; X86-NEXT:    retl
-; X86-NEXT:  LBB9_1: ## %bb2
-; X86-NEXT:    movl $1, %eax
-; X86-NEXT:    retl
+; SDAG-X86-LABEL: icmp_sle_2:
+; SDAG-X86:       ## %bb.0:
+; SDAG-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    cmpl {{[0-9]+}}(%esp), %eax
+; SDAG-X86-NEXT:    jg LBB9_1
+; SDAG-X86-NEXT:  ## %bb.2: ## %bb1
+; SDAG-X86-NEXT:    xorl %eax, %eax
+; SDAG-X86-NEXT:    retl
+; SDAG-X86-NEXT:  LBB9_1: ## %bb2
+; SDAG-X86-NEXT:    movl $1, %eax
+; SDAG-X86-NEXT:    retl
+;
+; FASTISEL-X86-LABEL: icmp_sle_2:
+; FASTISEL-X86:       ## %bb.0:
+; FASTISEL-X86-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; FASTISEL-X86-NEXT:    cmpl %eax, {{[0-9]+}}(%esp)
+; FASTISEL-X86-NEXT:    jg LBB9_1
+; FASTISEL-X86-NEXT:  ## %bb.2: ## %bb1
+; FASTISEL-X86-NEXT:    xorl %eax, %eax
+; FASTISEL-X86-NEXT:    retl
+; FASTISEL-X86-NEXT:  LBB9_1: ## %bb2
+; FASTISEL-X86-NEXT:    movl $1, %eax
+; FASTISEL-X86-NEXT:    retl
 ;
 ; GISEL-X86-LABEL: icmp_sle_2:
 ; GISEL-X86:       ## %bb.0:
@@ -594,15 +714,15 @@ define i32 @icmp_eq(i32 %x) {
 ; SDAG-NEXT:    je LBB10_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB10_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_eq:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    xorl %eax, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_eq:
 ; GISEL-X64:       ## %bb.0:
@@ -646,15 +766,15 @@ define i32 @icmp_ne(i32 %x) {
 ; SDAG-NEXT:    je LBB11_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB11_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_ne:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    movl $1, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_ne:
 ; GISEL-X64:       ## %bb.0:
@@ -698,15 +818,15 @@ define i32 @icmp_ugt(i32 %x) {
 ; SDAG-NEXT:    je LBB12_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB12_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_ugt:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    movl $1, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_ugt:
 ; GISEL-X64:       ## %bb.0:
@@ -750,15 +870,15 @@ define i32 @icmp_uge(i32 %x) {
 ; SDAG-NEXT:    je LBB13_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB13_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
-; FASTISEL-X64-LABEL: icmp_uge:
-; FASTISEL-X64:       ## %bb.0:
-; FASTISEL-X64-NEXT:    xorl %eax, %eax
-; FASTISEL-X64-NEXT:    retq
+; FASTISEL-LABEL: icmp_uge:
+; FASTISEL:       ## %bb.0:
+; FASTISEL-NEXT:    xorl %eax, %eax
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_uge:
 ; GISEL-X64:       ## %bb.0:
@@ -802,15 +922,15 @@ define i32 @icmp_ult(i32 %x) {
 ; SDAG-NEXT:    je LBB14_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB14_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
-; FASTISEL-X64-LABEL: icmp_ult:
-; FASTISEL-X64:       ## %bb.0:
-; FASTISEL-X64-NEXT:    movl $1, %eax
-; FASTISEL-X64-NEXT:    ret{{q|l}}
+; FASTISEL-LABEL: icmp_ult:
+; FASTISEL:       ## %bb.0:
+; FASTISEL-NEXT:    movl $1, %eax
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_ult:
 ; GISEL-X64:       ## %bb.0:
@@ -854,15 +974,15 @@ define i32 @icmp_ule(i32 %x) {
 ; SDAG-NEXT:    je LBB15_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB15_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_ule:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    xorl %eax, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_ule:
 ; GISEL-X64:       ## %bb.0:
@@ -906,15 +1026,15 @@ define i32 @icmp_sgt(i32 %x) {
 ; SDAG-NEXT:    je LBB16_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB16_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_sgt:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    movl $1, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_sgt:
 ; GISEL-X64:       ## %bb.0:
@@ -958,15 +1078,15 @@ define i32 @icmp_sge(i32 %x) {
 ; SDAG-NEXT:    je LBB17_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB17_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_sge:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    xorl %eax, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_sge:
 ; GISEL-X64:       ## %bb.0:
@@ -1010,15 +1130,15 @@ define i32 @icmp_slt(i32 %x) {
 ; SDAG-NEXT:    je LBB18_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB18_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_slt:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    movl $1, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_slt:
 ; GISEL-X64:       ## %bb.0:
@@ -1062,15 +1182,15 @@ define i32 @icmp_sle(i32 %x) {
 ; SDAG-NEXT:    je LBB19_1
 ; SDAG-NEXT:  ## %bb.2: ## %bb1
 ; SDAG-NEXT:    xorl %eax, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ; SDAG-NEXT:  LBB19_1: ## %bb2
 ; SDAG-NEXT:    movl $1, %eax
-; SDAG-NEXT:    ret{{q|l}}
+; SDAG-NEXT:    ret{{[l|q]}}
 ;
 ; FASTISEL-LABEL: icmp_sle:
 ; FASTISEL:       ## %bb.0:
 ; FASTISEL-NEXT:    xorl %eax, %eax
-; FASTISEL-NEXT:    ret{{q|l}}
+; FASTISEL-NEXT:    ret{{[l|q]}}
 ;
 ; GISEL-X64-LABEL: icmp_sle:
 ; GISEL-X64:       ## %bb.0:
@@ -1105,3 +1225,5 @@ bb2:
 bb1:
   ret i32 0
 }
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; X86: {{.*}}


        


More information about the llvm-commits mailing list