1; RUN: llc < %s -mcpu=generic -mtriple=i386-linux | FileCheck %s -check-prefix=LINUX-I386 2; RUN: llc < %s -mcpu=generic -mtriple=i386-kfreebsd | FileCheck %s -check-prefix=KFREEBSD-I386 3; RUN: llc < %s -mcpu=generic -mtriple=i386-netbsd | FileCheck %s -check-prefix=NETBSD-I386 4; RUN: llc < %s -mcpu=generic -mtriple=i686-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-I386 5; RUN: llc < %s -mcpu=generic -mtriple=i386-pc-solaris2.11 | FileCheck %s -check-prefix=SOLARIS-I386 6; RUN: llc < %s -mcpu=generic -mtriple=i386-nacl | FileCheck %s -check-prefix=NACL-I386 7; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s -check-prefix=LINUX-X86_64 8; RUN: llc < %s -mcpu=generic -mtriple=x86_64-kfreebsd | FileCheck %s -check-prefix=KFREEBSD-X86_64 9; RUN: llc < %s -mcpu=generic -mtriple=x86_64-netbsd | FileCheck %s -check-prefix=NETBSD-X86_64 10; RUN: llc < %s -mcpu=generic -mtriple=x86_64-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-X86_64 11; RUN: llc < %s -mcpu=generic -mtriple=x86_64-pc-solaris2.11 | FileCheck %s -check-prefix=SOLARIS-X86_64 12; RUN: llc < %s -mcpu=generic -mtriple=x86_64-nacl | FileCheck %s -check-prefix=NACL-X86_64 13 14define i32 @test() nounwind { 15entry: 16 call void @test2() 17 ret i32 0 18 19; LINUX-I386: subl $12, %esp 20; KFREEBSD-I386: subl $12, %esp 21; DARWIN-I386: subl $12, %esp 22; NACL-I386: subl $12, %esp 23; NETBSD-I386-NOT: subl {{.*}}, %esp 24; SOLARIS-I386-NOT: subl {{.*}}, %esp 25 26; LINUX-X86_64: pushq %{{.*}} 27; LINUX-X86_64-NOT: subq {{.*}}, %rsp 28; DARWIN-X86_64: pushq %{{.*}} 29; DARWIN-X86_64-NOT: subq {{.*}}, %rsp 30; NACL-X86_64: pushq %{{.*}} 31; NACL-X86_64-NOT: subq {{.*}}, %rsp 32; NETBSD-X86_64: pushq %{{.*}} 33; NETBSD-X86_64-NOT: subq {{.*}}, %rsp 34; SOLARIS-X86_64: pushq %{{.*}} 35; SOLARIS-X86_64-NOT: subq {{.*}}, %rsp 36; KFREEBSD-X86_64: pushq %{{.*}} 37; KFREEBSD-X86_64-NOT: subq {{.*}}, %rsp 38} 39 40declare void @test2() 41