[llvm] 811026b - [X86] segmented-stacks tests - replace X32 check prefix with X86 for non-gnux32 tests. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 10:01:37 PST 2020
Author: Simon Pilgrim
Date: 2020-11-17T17:59:22Z
New Revision: 811026b9870ac777136df6bcbb631c985e432aca
URL: https://github.com/llvm/llvm-project/commit/811026b9870ac777136df6bcbb631c985e432aca
DIFF: https://github.com/llvm/llvm-project/commit/811026b9870ac777136df6bcbb631c985e432aca.diff
LOG: [X86] segmented-stacks tests - replace X32 check prefix with X86 for non-gnux32 tests. NFC.
Only use X32 for the gnux32 triples in the tests
Added:
Modified:
llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll
llvm/test/CodeGen/X86/segmented-stacks-standalone.ll
llvm/test/CodeGen/X86/segmented-stacks.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll b/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll
index bce51d6bc237..3af7902c7874 100644
--- a/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll
+++ b/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X86
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux -verify-machineinstrs | FileCheck %s -check-prefix=X64
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux-gnux32 -verify-machineinstrs | FileCheck %s -check-prefix=X32ABI
; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -filetype=obj
@@ -22,26 +22,26 @@ false:
%retvalue = call i32 @test_basic(i32 %newlen)
ret i32 %retvalue
-; X32-LABEL: test_basic:
+; X86-LABEL: test_basic:
-; X32: cmpl %gs:48, %esp
-; X32-NEXT: jbe .LBB0_1
+; X86: cmpl %gs:48, %esp
+; X86-NEXT: jbe .LBB0_1
-; X32: movl %esp, %eax
-; X32: subl %ecx, %eax
-; X32-NEXT: cmpl %eax, %gs:48
+; X86: movl %esp, %eax
+; X86: subl %ecx, %eax
+; X86-NEXT: cmpl %eax, %gs:48
-; X32: movl %eax, %esp
+; X86: movl %eax, %esp
-; X32: subl $12, %esp
-; X32-NEXT: pushl %ecx
-; X32-NEXT: calll __morestack_allocate_stack_space
-; X32-NEXT: addl $16, %esp
+; X86: subl $12, %esp
+; X86-NEXT: pushl %ecx
+; X86-NEXT: calll __morestack_allocate_stack_space
+; X86-NEXT: addl $16, %esp
-; X32: pushl $4
-; X32-NEXT: pushl $12
-; X32-NEXT: calll __morestack
-; X32-NEXT: ret
+; X86: pushl $4
+; X86-NEXT: pushl $12
+; X86-NEXT: calll __morestack
+; X86-NEXT: ret
; X64-LABEL: test_basic:
diff --git a/llvm/test/CodeGen/X86/segmented-stacks-standalone.ll b/llvm/test/CodeGen/X86/segmented-stacks-standalone.ll
index a7205e6b33e3..3c9598ecb534 100644
--- a/llvm/test/CodeGen/X86/segmented-stacks-standalone.ll
+++ b/llvm/test/CodeGen/X86/segmented-stacks-standalone.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X32-Linux
-; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux -verify-machineinstrs | FileCheck %s -check-prefix=X64-Linux
+; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux -verify-machineinstrs | FileCheck %s
; This test is standalone because segmented-stacks.ll generates
; object-files with both .note.GNU-split-stack (for the split-stack
@@ -14,17 +14,5 @@ define void @test_nostack() #0 {
attributes #0 = { "split-stack" }
-; X32-Linux: .section ".note.GNU-split-stack","", at progbits
-; X32-Linux: .section ".note.GNU-no-split-stack","", at progbits
-
-; X64-Linux: .section ".note.GNU-split-stack","", at progbits
-; X64-Linux: .section ".note.GNU-no-split-stack","", at progbits
-
-; X64-FreeBSD: .section ".note.GNU-split-stack","", at progbits
-; X64-FreeBSD: .section ".note.GNU-no-split-stack","", at progbits
-
-; X32-DFlyBSD: .section ".note.GNU-split-stack","", at progbits
-; X32-DFlyBSD: .section ".note.GNU-no-split-stack","", at progbits
-
-; X64-DFlyBSD: .section ".note.GNU-split-stack","", at progbits
-; X64-DFlyBSD: .section ".note.GNU-no-split-stack","", at progbits
+; CHECK: .section ".note.GNU-split-stack","", at progbits
+; CHECK: .section ".note.GNU-no-split-stack","", at progbits
diff --git a/llvm/test/CodeGen/X86/segmented-stacks.ll b/llvm/test/CodeGen/X86/segmented-stacks.ll
index 467182c9f407..d17582131333 100644
--- a/llvm/test/CodeGen/X86/segmented-stacks.ll
+++ b/llvm/test/CodeGen/X86/segmented-stacks.ll
@@ -1,12 +1,12 @@
-; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X32-Linux
+; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s -check-prefix=X86-Linux
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux -verify-machineinstrs | FileCheck %s -check-prefix=X64-Linux
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux -code-model=large -verify-machineinstrs | FileCheck %s -check-prefix=X64-Linux-Large
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux-gnux32 -verify-machineinstrs | FileCheck %s -check-prefix=X32ABI
-; RUN: llc < %s -mcpu=generic -mtriple=i686-darwin -verify-machineinstrs | FileCheck %s -check-prefix=X32-Darwin
+; RUN: llc < %s -mcpu=generic -mtriple=i686-darwin -verify-machineinstrs | FileCheck %s -check-prefix=X86-Darwin
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-darwin -verify-machineinstrs | FileCheck %s -check-prefix=X64-Darwin
-; RUN: llc < %s -mcpu=generic -mtriple=i686-mingw32 -verify-machineinstrs | FileCheck %s -check-prefix=X32-MinGW
+; RUN: llc < %s -mcpu=generic -mtriple=i686-mingw32 -verify-machineinstrs | FileCheck %s -check-prefix=X86-MinGW
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-freebsd -verify-machineinstrs | FileCheck %s -check-prefix=X64-FreeBSD
-; RUN: llc < %s -mcpu=generic -mtriple=i686-dragonfly -verify-machineinstrs | FileCheck %s -check-prefix=X32-DFlyBSD
+; RUN: llc < %s -mcpu=generic -mtriple=i686-dragonfly -verify-machineinstrs | FileCheck %s -check-prefix=X86-DFlyBSD
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-dragonfly -verify-machineinstrs | FileCheck %s -check-prefix=X64-DFlyBSD
; RUN: llc < %s -mcpu=generic -mtriple=x86_64-mingw32 -verify-machineinstrs | FileCheck %s -check-prefix=X64-MinGW
@@ -25,10 +25,10 @@
; RUN: not --crash llc < %s -mcpu=generic -mtriple=x86_64-solaris 2> %t.log
; RUN: FileCheck %s -input-file=%t.log -check-prefix=X64-Solaris
; RUN: not --crash llc < %s -mcpu=generic -mtriple=i686-freebsd 2> %t.log
-; RUN: FileCheck %s -input-file=%t.log -check-prefix=X32-FreeBSD
+; RUN: FileCheck %s -input-file=%t.log -check-prefix=X86-FreeBSD
; X64-Solaris: Segmented stacks not supported on this platform
-; X32-FreeBSD: Segmented stacks not supported on FreeBSD i386
+; X86-FreeBSD: Segmented stacks not supported on FreeBSD i386
; Just to prevent the alloca from being optimized away
declare void @dummy_use(i32*, i32)
@@ -38,15 +38,15 @@ define void @test_basic() #0 {
call void @dummy_use (i32* %mem, i32 10)
ret void
-; X32-Linux-LABEL: test_basic:
+; X86-Linux-LABEL: test_basic:
-; X32-Linux: cmpl %gs:48, %esp
-; X32-Linux-NEXT: jbe .LBB0_1
+; X86-Linux: cmpl %gs:48, %esp
+; X86-Linux-NEXT: jbe .LBB0_1
-; X32-Linux: pushl $0
-; X32-Linux-NEXT: pushl $44
-; X32-Linux-NEXT: calll __morestack
-; X32-Linux-NEXT: ret
+; X86-Linux: pushl $0
+; X86-Linux-NEXT: pushl $44
+; X86-Linux-NEXT: calll __morestack
+; X86-Linux-NEXT: ret
; X64-Linux-LABEL: test_basic:
@@ -78,16 +78,16 @@ define void @test_basic() #0 {
; X32ABI-NEXT: callq __morestack
; X32ABI-NEXT: ret
-; X32-Darwin-LABEL: test_basic:
+; X86-Darwin-LABEL: test_basic:
-; X32-Darwin: movl $432, %ecx
-; X32-Darwin-NEXT: cmpl %gs:(%ecx), %esp
-; X32-Darwin-NEXT: jbe LBB0_1
+; X86-Darwin: movl $432, %ecx
+; X86-Darwin-NEXT: cmpl %gs:(%ecx), %esp
+; X86-Darwin-NEXT: jbe LBB0_1
-; X32-Darwin: pushl $0
-; X32-Darwin-NEXT: pushl $60
-; X32-Darwin-NEXT: calll ___morestack
-; X32-Darwin-NEXT: ret
+; X86-Darwin: pushl $0
+; X86-Darwin-NEXT: pushl $60
+; X86-Darwin-NEXT: calll ___morestack
+; X86-Darwin-NEXT: ret
; X64-Darwin-LABEL: test_basic:
@@ -99,15 +99,15 @@ define void @test_basic() #0 {
; X64-Darwin-NEXT: callq ___morestack
; X64-Darwin-NEXT: ret
-; X32-MinGW-LABEL: test_basic:
+; X86-MinGW-LABEL: test_basic:
-; X32-MinGW: cmpl %fs:20, %esp
-; X32-MinGW-NEXT: jbe LBB0_1
+; X86-MinGW: cmpl %fs:20, %esp
+; X86-MinGW-NEXT: jbe LBB0_1
-; X32-MinGW: pushl $0
-; X32-MinGW-NEXT: pushl $40
-; X32-MinGW-NEXT: calll ___morestack
-; X32-MinGW-NEXT: ret
+; X86-MinGW: pushl $0
+; X86-MinGW-NEXT: pushl $40
+; X86-MinGW-NEXT: calll ___morestack
+; X86-MinGW-NEXT: ret
; X64-MinGW-LABEL: test_basic:
@@ -129,15 +129,15 @@ define void @test_basic() #0 {
; X64-FreeBSD-NEXT: callq __morestack
; X64-FreeBSD-NEXT: ret
-; X32-DFlyBSD-LABEL: test_basic:
+; X86-DFlyBSD-LABEL: test_basic:
-; X32-DFlyBSD: cmpl %fs:16, %esp
-; X32-DFlyBSD-NEXT: jbe .LBB0_1
+; X86-DFlyBSD: cmpl %fs:16, %esp
+; X86-DFlyBSD-NEXT: jbe .LBB0_1
-; X32-DFlyBSD: pushl $0
-; X32-DFlyBSD-NEXT: pushl $40
-; X32-DFlyBSD-NEXT: calll __morestack
-; X32-DFlyBSD-NEXT: ret
+; X86-DFlyBSD: pushl $0
+; X86-DFlyBSD-NEXT: pushl $40
+; X86-DFlyBSD-NEXT: calll __morestack
+; X86-DFlyBSD-NEXT: ret
; X64-DFlyBSD-LABEL: test_basic:
@@ -158,13 +158,13 @@ define i32 @test_nested(i32 * nest %closure, i32 %other) #0 {
call void @dummy_use (i32* %mem, i32 10)
ret i32 %result
-; X32-Linux: cmpl %gs:48, %esp
-; X32-Linux-NEXT: jbe .LBB1_1
+; X86-Linux: cmpl %gs:48, %esp
+; X86-Linux-NEXT: jbe .LBB1_1
-; X32-Linux: pushl $4
-; X32-Linux-NEXT: pushl $44
-; X32-Linux-NEXT: calll __morestack
-; X32-Linux-NEXT: ret
+; X86-Linux: pushl $4
+; X86-Linux-NEXT: pushl $44
+; X86-Linux-NEXT: calll __morestack
+; X86-Linux-NEXT: ret
; X64-Linux: cmpq %fs:112, %rsp
; X64-Linux-NEXT: jbe .LBB1_1
@@ -186,14 +186,14 @@ define i32 @test_nested(i32 * nest %closure, i32 %other) #0 {
; X32ABI-NEXT: ret
; X32ABI-NEXT: movq %rax, %r10
-; X32-Darwin: movl $432, %edx
-; X32-Darwin-NEXT: cmpl %gs:(%edx), %esp
-; X32-Darwin-NEXT: jbe LBB1_1
+; X86-Darwin: movl $432, %edx
+; X86-Darwin-NEXT: cmpl %gs:(%edx), %esp
+; X86-Darwin-NEXT: jbe LBB1_1
-; X32-Darwin: pushl $4
-; X32-Darwin-NEXT: pushl $60
-; X32-Darwin-NEXT: calll ___morestack
-; X32-Darwin-NEXT: ret
+; X86-Darwin: pushl $4
+; X86-Darwin-NEXT: pushl $60
+; X86-Darwin-NEXT: calll ___morestack
+; X86-Darwin-NEXT: ret
; X64-Darwin: cmpq %gs:816, %rsp
; X64-Darwin-NEXT: jbe LBB1_1
@@ -205,13 +205,13 @@ define i32 @test_nested(i32 * nest %closure, i32 %other) #0 {
; X64-Darwin-NEXT: ret
; X64-Darwin-NEXT: movq %rax, %r10
-; X32-MinGW: cmpl %fs:20, %esp
-; X32-MinGW-NEXT: jbe LBB1_1
+; X86-MinGW: cmpl %fs:20, %esp
+; X86-MinGW-NEXT: jbe LBB1_1
-; X32-MinGW: pushl $4
-; X32-MinGW-NEXT: pushl $44
-; X32-MinGW-NEXT: calll ___morestack
-; X32-MinGW-NEXT: ret
+; X86-MinGW: pushl $4
+; X86-MinGW-NEXT: pushl $44
+; X86-MinGW-NEXT: calll ___morestack
+; X86-MinGW-NEXT: ret
; X64-MinGW-LABEL: test_nested:
; X64-MinGW: cmpq %gs:40, %rsp
@@ -234,13 +234,13 @@ define i32 @test_nested(i32 * nest %closure, i32 %other) #0 {
; X64-FreeBSD-NEXT: ret
; X64-FreeBSD-NEXT: movq %rax, %r10
-; X32-DFlyBSD: cmpl %fs:16, %esp
-; X32-DFlyBSD-NEXT: jbe .LBB1_1
+; X86-DFlyBSD: cmpl %fs:16, %esp
+; X86-DFlyBSD-NEXT: jbe .LBB1_1
-; X32-DFlyBSD: pushl $4
-; X32-DFlyBSD-NEXT: pushl $44
-; X32-DFlyBSD-NEXT: calll __morestack
-; X32-DFlyBSD-NEXT: ret
+; X86-DFlyBSD: pushl $4
+; X86-DFlyBSD-NEXT: pushl $44
+; X86-DFlyBSD-NEXT: calll __morestack
+; X86-DFlyBSD-NEXT: ret
; X64-DFlyBSD: cmpq %fs:32, %rsp
; X64-DFlyBSD-NEXT: jbe .LBB1_1
@@ -259,16 +259,16 @@ define void @test_large() #0 {
call void @dummy_use (i32* %mem, i32 3)
ret void
-; X32-Linux-LABEL: test_large:
+; X86-Linux-LABEL: test_large:
-; X32-Linux: leal -40012(%esp), %ecx
-; X32-Linux-NEXT: cmpl %gs:48, %ecx
-; X32-Linux-NEXT: jbe .LBB2_1
+; X86-Linux: leal -40012(%esp), %ecx
+; X86-Linux-NEXT: cmpl %gs:48, %ecx
+; X86-Linux-NEXT: jbe .LBB2_1
-; X32-Linux: pushl $0
-; X32-Linux-NEXT: pushl $40012
-; X32-Linux-NEXT: calll __morestack
-; X32-Linux-NEXT: ret
+; X86-Linux: pushl $0
+; X86-Linux-NEXT: pushl $40012
+; X86-Linux-NEXT: calll __morestack
+; X86-Linux-NEXT: ret
; X64-Linux: leaq -40008(%rsp), %r11
; X64-Linux-NEXT: cmpq %fs:112, %r11
@@ -288,15 +288,15 @@ define void @test_large() #0 {
; X32ABI-NEXT: callq __morestack
; X32ABI-NEXT: ret
-; X32-Darwin: leal -40012(%esp), %ecx
-; X32-Darwin-NEXT: movl $432, %eax
-; X32-Darwin-NEXT: cmpl %gs:(%eax), %ecx
-; X32-Darwin-NEXT: jbe LBB2_1
+; X86-Darwin: leal -40012(%esp), %ecx
+; X86-Darwin-NEXT: movl $432, %eax
+; X86-Darwin-NEXT: cmpl %gs:(%eax), %ecx
+; X86-Darwin-NEXT: jbe LBB2_1
-; X32-Darwin: pushl $0
-; X32-Darwin-NEXT: pushl $40012
-; X32-Darwin-NEXT: calll ___morestack
-; X32-Darwin-NEXT: ret
+; X86-Darwin: pushl $0
+; X86-Darwin-NEXT: pushl $40012
+; X86-Darwin-NEXT: calll ___morestack
+; X86-Darwin-NEXT: ret
; X64-Darwin: leaq -40008(%rsp), %r11
; X64-Darwin-NEXT: cmpq %gs:816, %r11
@@ -307,14 +307,14 @@ define void @test_large() #0 {
; X64-Darwin-NEXT: callq ___morestack
; X64-Darwin-NEXT: ret
-; X32-MinGW: leal -40000(%esp), %ecx
-; X32-MinGW-NEXT: cmpl %fs:20, %ecx
-; X32-MinGW-NEXT: jbe LBB2_1
+; X86-MinGW: leal -40000(%esp), %ecx
+; X86-MinGW-NEXT: cmpl %fs:20, %ecx
+; X86-MinGW-NEXT: jbe LBB2_1
-; X32-MinGW: pushl $0
-; X32-MinGW-NEXT: pushl $40000
-; X32-MinGW-NEXT: calll ___morestack
-; X32-MinGW-NEXT: ret
+; X86-MinGW: pushl $0
+; X86-MinGW-NEXT: pushl $40000
+; X86-MinGW-NEXT: calll ___morestack
+; X86-MinGW-NEXT: ret
; X64-MinGW-LABEL: test_large:
; X64-MinGW: leaq -40040(%rsp), %r11
@@ -335,14 +335,14 @@ define void @test_large() #0 {
; X64-FreeBSD-NEXT: callq __morestack
; X64-FreeBSD-NEXT: ret
-; X32-DFlyBSD: leal -40000(%esp), %ecx
-; X32-DFlyBSD-NEXT: cmpl %fs:16, %ecx
-; X32-DFlyBSD-NEXT: jbe .LBB2_1
+; X86-DFlyBSD: leal -40000(%esp), %ecx
+; X86-DFlyBSD-NEXT: cmpl %fs:16, %ecx
+; X86-DFlyBSD-NEXT: jbe .LBB2_1
-; X32-DFlyBSD: pushl $0
-; X32-DFlyBSD-NEXT: pushl $40000
-; X32-DFlyBSD-NEXT: calll __morestack
-; X32-DFlyBSD-NEXT: ret
+; X86-DFlyBSD: pushl $0
+; X86-DFlyBSD-NEXT: pushl $40000
+; X86-DFlyBSD-NEXT: calll __morestack
+; X86-DFlyBSD-NEXT: ret
; X64-DFlyBSD: leaq -40008(%rsp), %r11
; X64-DFlyBSD-NEXT: cmpq %fs:32, %r11
@@ -360,15 +360,15 @@ define fastcc void @test_fastcc() #0 {
call void @dummy_use (i32* %mem, i32 10)
ret void
-; X32-Linux-LABEL: test_fastcc:
+; X86-Linux-LABEL: test_fastcc:
-; X32-Linux: cmpl %gs:48, %esp
-; X32-Linux-NEXT: jbe .LBB3_1
+; X86-Linux: cmpl %gs:48, %esp
+; X86-Linux-NEXT: jbe .LBB3_1
-; X32-Linux: pushl $0
-; X32-Linux-NEXT: pushl $44
-; X32-Linux-NEXT: calll __morestack
-; X32-Linux-NEXT: ret
+; X86-Linux: pushl $0
+; X86-Linux-NEXT: pushl $44
+; X86-Linux-NEXT: calll __morestack
+; X86-Linux-NEXT: ret
; X64-Linux-LABEL: test_fastcc:
@@ -390,16 +390,16 @@ define fastcc void @test_fastcc() #0 {
; X32ABI-NEXT: callq __morestack
; X32ABI-NEXT: ret
-; X32-Darwin-LABEL: test_fastcc:
+; X86-Darwin-LABEL: test_fastcc:
-; X32-Darwin: movl $432, %eax
-; X32-Darwin-NEXT: cmpl %gs:(%eax), %esp
-; X32-Darwin-NEXT: jbe LBB3_1
+; X86-Darwin: movl $432, %eax
+; X86-Darwin-NEXT: cmpl %gs:(%eax), %esp
+; X86-Darwin-NEXT: jbe LBB3_1
-; X32-Darwin: pushl $0
-; X32-Darwin-NEXT: pushl $60
-; X32-Darwin-NEXT: calll ___morestack
-; X32-Darwin-NEXT: ret
+; X86-Darwin: pushl $0
+; X86-Darwin-NEXT: pushl $60
+; X86-Darwin-NEXT: calll ___morestack
+; X86-Darwin-NEXT: ret
; X64-Darwin-LABEL: test_fastcc:
@@ -411,15 +411,15 @@ define fastcc void @test_fastcc() #0 {
; X64-Darwin-NEXT: callq ___morestack
; X64-Darwin-NEXT: ret
-; X32-MinGW-LABEL: test_fastcc:
+; X86-MinGW-LABEL: test_fastcc:
-; X32-MinGW: cmpl %fs:20, %esp
-; X32-MinGW-NEXT: jbe LBB3_1
+; X86-MinGW: cmpl %fs:20, %esp
+; X86-MinGW-NEXT: jbe LBB3_1
-; X32-MinGW: pushl $0
-; X32-MinGW-NEXT: pushl $40
-; X32-MinGW-NEXT: calll ___morestack
-; X32-MinGW-NEXT: ret
+; X86-MinGW: pushl $0
+; X86-MinGW-NEXT: pushl $40
+; X86-MinGW-NEXT: calll ___morestack
+; X86-MinGW-NEXT: ret
; X64-MinGW-LABEL: test_fastcc:
@@ -441,15 +441,15 @@ define fastcc void @test_fastcc() #0 {
; X64-FreeBSD-NEXT: callq __morestack
; X64-FreeBSD-NEXT: ret
-; X32-DFlyBSD-LABEL: test_fastcc:
+; X86-DFlyBSD-LABEL: test_fastcc:
-; X32-DFlyBSD: cmpl %fs:16, %esp
-; X32-DFlyBSD-NEXT: jbe .LBB3_1
+; X86-DFlyBSD: cmpl %fs:16, %esp
+; X86-DFlyBSD-NEXT: jbe .LBB3_1
-; X32-DFlyBSD: pushl $0
-; X32-DFlyBSD-NEXT: pushl $40
-; X32-DFlyBSD-NEXT: calll __morestack
-; X32-DFlyBSD-NEXT: ret
+; X86-DFlyBSD: pushl $0
+; X86-DFlyBSD-NEXT: pushl $40
+; X86-DFlyBSD-NEXT: calll __morestack
+; X86-DFlyBSD-NEXT: ret
; X64-DFlyBSD-LABEL: test_fastcc:
@@ -468,16 +468,16 @@ define fastcc void @test_fastcc_large() #0 {
call void @dummy_use (i32* %mem, i32 3)
ret void
-; X32-Linux-LABEL: test_fastcc_large:
+; X86-Linux-LABEL: test_fastcc_large:
-; X32-Linux: leal -40012(%esp), %eax
-; X32-Linux-NEXT: cmpl %gs:48, %eax
-; X32-Linux-NEXT: jbe .LBB4_1
+; X86-Linux: leal -40012(%esp), %eax
+; X86-Linux-NEXT: cmpl %gs:48, %eax
+; X86-Linux-NEXT: jbe .LBB4_1
-; X32-Linux: pushl $0
-; X32-Linux-NEXT: pushl $40012
-; X32-Linux-NEXT: calll __morestack
-; X32-Linux-NEXT: ret
+; X86-Linux: pushl $0
+; X86-Linux-NEXT: pushl $40012
+; X86-Linux-NEXT: calll __morestack
+; X86-Linux-NEXT: ret
; X64-Linux-LABEL: test_fastcc_large:
@@ -501,17 +501,17 @@ define fastcc void @test_fastcc_large() #0 {
; X32ABI-NEXT: callq __morestack
; X32ABI-NEXT: ret
-; X32-Darwin-LABEL: test_fastcc_large:
+; X86-Darwin-LABEL: test_fastcc_large:
-; X32-Darwin: leal -40012(%esp), %eax
-; X32-Darwin-NEXT: movl $432, %ecx
-; X32-Darwin-NEXT: cmpl %gs:(%ecx), %eax
-; X32-Darwin-NEXT: jbe LBB4_1
+; X86-Darwin: leal -40012(%esp), %eax
+; X86-Darwin-NEXT: movl $432, %ecx
+; X86-Darwin-NEXT: cmpl %gs:(%ecx), %eax
+; X86-Darwin-NEXT: jbe LBB4_1
-; X32-Darwin: pushl $0
-; X32-Darwin-NEXT: pushl $40012
-; X32-Darwin-NEXT: calll ___morestack
-; X32-Darwin-NEXT: ret
+; X86-Darwin: pushl $0
+; X86-Darwin-NEXT: pushl $40012
+; X86-Darwin-NEXT: calll ___morestack
+; X86-Darwin-NEXT: ret
; X64-Darwin-LABEL: test_fastcc_large:
@@ -524,16 +524,16 @@ define fastcc void @test_fastcc_large() #0 {
; X64-Darwin-NEXT: callq ___morestack
; X64-Darwin-NEXT: ret
-; X32-MinGW-LABEL: test_fastcc_large:
+; X86-MinGW-LABEL: test_fastcc_large:
-; X32-MinGW: leal -40000(%esp), %eax
-; X32-MinGW-NEXT: cmpl %fs:20, %eax
-; X32-MinGW-NEXT: jbe LBB4_1
+; X86-MinGW: leal -40000(%esp), %eax
+; X86-MinGW-NEXT: cmpl %fs:20, %eax
+; X86-MinGW-NEXT: jbe LBB4_1
-; X32-MinGW: pushl $0
-; X32-MinGW-NEXT: pushl $40000
-; X32-MinGW-NEXT: calll ___morestack
-; X32-MinGW-NEXT: ret
+; X86-MinGW: pushl $0
+; X86-MinGW-NEXT: pushl $40000
+; X86-MinGW-NEXT: calll ___morestack
+; X86-MinGW-NEXT: ret
; X64-MinGW-LABEL: test_fastcc_large:
@@ -557,16 +557,16 @@ define fastcc void @test_fastcc_large() #0 {
; X64-FreeBSD-NEXT: callq __morestack
; X64-FreeBSD-NEXT: ret
-; X32-DFlyBSD-LABEL: test_fastcc_large:
+; X86-DFlyBSD-LABEL: test_fastcc_large:
-; X32-DFlyBSD: leal -40000(%esp), %eax
-; X32-DFlyBSD-NEXT: cmpl %fs:16, %eax
-; X32-DFlyBSD-NEXT: jbe .LBB4_1
+; X86-DFlyBSD: leal -40000(%esp), %eax
+; X86-DFlyBSD-NEXT: cmpl %fs:16, %eax
+; X86-DFlyBSD-NEXT: jbe .LBB4_1
-; X32-DFlyBSD: pushl $0
-; X32-DFlyBSD-NEXT: pushl $40000
-; X32-DFlyBSD-NEXT: calll __morestack
-; X32-DFlyBSD-NEXT: ret
+; X86-DFlyBSD: pushl $0
+; X86-DFlyBSD-NEXT: pushl $40000
+; X86-DFlyBSD-NEXT: calll __morestack
+; X86-DFlyBSD-NEXT: ret
; X64-DFlyBSD-LABEL: test_fastcc_large:
@@ -588,27 +588,27 @@ define fastcc void @test_fastcc_large_with_ecx_arg(i32 %a) #0 {
; This is testing that the Mac implementation preserves ecx
-; X32-Darwin-LABEL: test_fastcc_large_with_ecx_arg:
+; X86-Darwin-LABEL: test_fastcc_large_with_ecx_arg:
-; X32-Darwin: leal -40012(%esp), %eax
-; X32-Darwin-NEXT: pushl %ecx
-; X32-Darwin-NEXT: movl $432, %ecx
-; X32-Darwin-NEXT: cmpl %gs:(%ecx), %eax
-; X32-Darwin-NEXT: popl %ecx
-; X32-Darwin-NEXT: jbe LBB5_1
+; X86-Darwin: leal -40012(%esp), %eax
+; X86-Darwin-NEXT: pushl %ecx
+; X86-Darwin-NEXT: movl $432, %ecx
+; X86-Darwin-NEXT: cmpl %gs:(%ecx), %eax
+; X86-Darwin-NEXT: popl %ecx
+; X86-Darwin-NEXT: jbe LBB5_1
-; X32-Darwin: pushl $0
-; X32-Darwin-NEXT: pushl $40012
-; X32-Darwin-NEXT: calll ___morestack
-; X32-Darwin-NEXT: ret
+; X86-Darwin: pushl $0
+; X86-Darwin-NEXT: pushl $40012
+; X86-Darwin-NEXT: calll ___morestack
+; X86-Darwin-NEXT: ret
}
define void @test_nostack() #0 {
ret void
-; X32-Linux-LABEL: test_nostack:
-; X32-Linux-NOT: calll __morestack
+; X86-Linux-LABEL: test_nostack:
+; X86-Linux-NOT: calll __morestack
; X64-Linux-LABEL: test_nostack:
; X64-Linux-NOT: callq __morestack
@@ -616,14 +616,14 @@ define void @test_nostack() #0 {
; X32ABI-LABEL: test_nostack:
; X32ABI-NOT: callq __morestack
-; X32-Darwin-LABEL: test_nostack:
-; X32-Darwin-NOT: calll __morestack
+; X86-Darwin-LABEL: test_nostack:
+; X86-Darwin-NOT: calll __morestack
; X64-Darwin-LABEL: test_nostack:
; X64-Darwin-NOT: callq __morestack
-; X32-MinGW-LABEL: test_nostack:
-; X32-MinGW-NOT: calll __morestack
+; X86-MinGW-LABEL: test_nostack:
+; X86-MinGW-NOT: calll __morestack
; X64-MinGW-LABEL: test_nostack:
; X64-MinGW-NOT: callq __morestack
@@ -631,8 +631,8 @@ define void @test_nostack() #0 {
; X64-FreeBSD-LABEL: test_nostack:
; X64-FreeBSD-NOT: callq __morestack
-; X32-DFlyBSD-LABEL: test_nostack:
-; X32-DFlyBSD-NOT: calll __morestack
+; X86-DFlyBSD-LABEL: test_nostack:
+; X86-DFlyBSD-NOT: calll __morestack
; X64-DFlyBSD-LABEL: test_nostack:
; X64-DFlyBSD-NOT: callq __morestack
@@ -652,8 +652,8 @@ define i32 @test_sibling_call_empty_frame(i32 %x) #0 {
%call = tail call i32 @callee(i32 %x) #0
ret i32 %call
-; X32-Linux-LABEL: test_sibling_call_empty_frame:
-; X32-Linux: calll __morestack
+; X86-Linux-LABEL: test_sibling_call_empty_frame:
+; X86-Linux: calll __morestack
; X64-Linux-LABEL: test_sibling_call_empty_frame:
; X64-Linux: callq __morestack
@@ -664,14 +664,14 @@ define i32 @test_sibling_call_empty_frame(i32 %x) #0 {
; X32ABI-LABEL: test_sibling_call_empty_frame:
; X32ABI: callq __morestack
-; X32-Darwin-LABEL: test_sibling_call_empty_frame:
-; X32-Darwin: calll ___morestack
+; X86-Darwin-LABEL: test_sibling_call_empty_frame:
+; X86-Darwin: calll ___morestack
; X64-Darwin-LABEL: test_sibling_call_empty_frame:
; X64-Darwin: callq ___morestack
-; X32-MinGW-LABEL: test_sibling_call_empty_frame:
-; X32-MinGW: calll ___morestack
+; X86-MinGW-LABEL: test_sibling_call_empty_frame:
+; X86-MinGW: calll ___morestack
; X64-MinGW-LABEL: test_sibling_call_empty_frame:
; X64-MinGW: callq __morestack
@@ -679,9 +679,9 @@ define i32 @test_sibling_call_empty_frame(i32 %x) #0 {
; X64-FreeBSD-LABEL: test_sibling_call_empty_frame:
; X64-FreeBSD: callq __morestack
-; X32-DFlyBSD-LABEL: test_sibling_call_empty_frame:
-; X32-DFlyBSD: calll __morestack
-; X32-DFlyBSD-NEXT: ret
+; X86-DFlyBSD-LABEL: test_sibling_call_empty_frame:
+; X86-DFlyBSD: calll __morestack
+; X86-DFlyBSD-NEXT: ret
; X64-DFlyBSD-LABEL: test_sibling_call_empty_frame:
; X64-DFlyBSD: callq __morestack
@@ -733,8 +733,8 @@ attributes #0 = { "split-stack" }
; X64-Linux-Large-NEXT: __morestack_addr:
; X64-Linux-Large-NEXT: .quad __morestack
-; X32-Linux: .section ".note.GNU-split-stack","", at progbits
-; X32-Linux: .section ".note.GNU-no-split-stack","", at progbits
+; X86-Linux: .section ".note.GNU-split-stack","", at progbits
+; X86-Linux: .section ".note.GNU-no-split-stack","", at progbits
; X64-Linux: .section ".note.GNU-split-stack","", at progbits
; X64-Linux: .section ".note.GNU-no-split-stack","", at progbits
@@ -742,8 +742,8 @@ attributes #0 = { "split-stack" }
; X64-FreeBSD: .section ".note.GNU-split-stack","", at progbits
; X64-FreeBSD: .section ".note.GNU-no-split-stack","", at progbits
-; X32-DFlyBSD: .section ".note.GNU-split-stack","", at progbits
-; X32-DFlyBSD: .section ".note.GNU-no-split-stack","", at progbits
+; X86-DFlyBSD: .section ".note.GNU-split-stack","", at progbits
+; X86-DFlyBSD: .section ".note.GNU-no-split-stack","", at progbits
; X64-DFlyBSD: .section ".note.GNU-split-stack","", at progbits
; X64-DFlyBSD: .section ".note.GNU-no-split-stack","", at progbits
More information about the llvm-commits
mailing list