brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · 5d1d322 Raw
41 lines · plain
1; RUN: llc < %s -mcpu=generic -mtriple=i386-linux | FileCheck %s -check-prefix=LINUX-I3862; RUN: llc < %s -mcpu=generic -mtriple=i386-kfreebsd | FileCheck %s -check-prefix=KFREEBSD-I3863; RUN: llc < %s -mcpu=generic -mtriple=i386-hurd | FileCheck %s -check-prefix=HURD-I3864; RUN: llc < %s -mcpu=generic -mtriple=i386-netbsd | FileCheck %s -check-prefix=NETBSD-I3865; RUN: llc < %s -mcpu=generic -mtriple=i686-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-I3866; RUN: llc < %s -mcpu=generic -mtriple=i386-pc-solaris2.11 | FileCheck %s -check-prefix=SOLARIS-I3867; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s -check-prefix=LINUX-X86_648; RUN: llc < %s -mcpu=generic -mtriple=x86_64-kfreebsd | FileCheck %s -check-prefix=KFREEBSD-X86_649; RUN: llc < %s -mcpu=generic -mtriple=x86_64-hurd | FileCheck %s -check-prefix=HURD-X86_6410; RUN: llc < %s -mcpu=generic -mtriple=x86_64-netbsd | FileCheck %s -check-prefix=NETBSD-X86_6411; RUN: llc < %s -mcpu=generic -mtriple=x86_64-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-X86_6412; RUN: llc < %s -mcpu=generic -mtriple=x86_64-pc-solaris2.11 | FileCheck %s -check-prefix=SOLARIS-X86_6413 14define i32 @test() nounwind {15entry:16  call void @test2()17  ret i32 018 19; LINUX-I386:     subl	$12, %esp20; KFREEBSD-I386:  subl	$12, %esp21; DARWIN-I386:    subl	$12, %esp22; HURD-I386:      subl  $12, %esp23; NETBSD-I386-NOT:  subl	{{.*}}, %esp24; SOLARIS-I386-NOT: subl	{{.*}}, %esp25 26; LINUX-X86_64:      pushq %{{.*}}27; LINUX-X86_64-NOT:  subq	{{.*}}, %rsp28; DARWIN-X86_64:     pushq %{{.*}}29; DARWIN-X86_64-NOT: subq	{{.*}}, %rsp30; NETBSD-X86_64:     pushq %{{.*}}31; NETBSD-X86_64-NOT: subq	{{.*}}, %rsp32; SOLARIS-X86_64:     pushq %{{.*}}33; SOLARIS-X86_64-NOT: subq	{{.*}}, %rsp34; KFREEBSD-X86_64:     pushq %{{.*}}35; KFREEBSD-X86_64-NOT: subq	{{.*}}, %rsp36; HURD-X86_64:       pushq %{{.*}}37; HURD-X86_64-NOT:   subq       {{.*}}, %rsp38}39 40declare void @test2()41