Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/stack-align2.ll @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | 95c75e76d11b |
children |
comparison
equal
deleted
inserted
replaced
101:34baf5011add | 120:1172e4bd9c6f |
---|---|
1 ; RUN: llc < %s -mcpu=generic -mtriple=i386-linux | FileCheck %s -check-prefix=LINUX-I386 | 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 | |
2 ; RUN: llc < %s -mcpu=generic -mtriple=i386-netbsd | FileCheck %s -check-prefix=NETBSD-I386 | 3 ; RUN: llc < %s -mcpu=generic -mtriple=i386-netbsd | FileCheck %s -check-prefix=NETBSD-I386 |
3 ; RUN: llc < %s -mcpu=generic -mtriple=i686-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-I386 | 4 ; RUN: llc < %s -mcpu=generic -mtriple=i686-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-I386 |
4 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s -check-prefix=LINUX-X86_64 | 5 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s -check-prefix=LINUX-X86_64 |
6 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-kfreebsd | FileCheck %s -check-prefix=KFREEBSD-X86_64 | |
5 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-netbsd | FileCheck %s -check-prefix=NETBSD-X86_64 | 7 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-netbsd | FileCheck %s -check-prefix=NETBSD-X86_64 |
6 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-X86_64 | 8 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-apple-darwin8 | FileCheck %s -check-prefix=DARWIN-X86_64 |
7 | 9 |
8 define i32 @test() nounwind { | 10 define i32 @test() nounwind { |
9 entry: | 11 entry: |
10 call void @test2() | 12 call void @test2() |
11 ret i32 0 | 13 ret i32 0 |
12 | 14 |
13 ; LINUX-I386: subl $12, %esp | 15 ; LINUX-I386: subl $12, %esp |
16 ; KFREEBSD-I386: subl $12, %esp | |
14 ; DARWIN-I386: subl $12, %esp | 17 ; DARWIN-I386: subl $12, %esp |
15 ; NETBSD-I386-NOT: subl {{.*}}, %esp | 18 ; NETBSD-I386-NOT: subl {{.*}}, %esp |
16 | 19 |
17 ; LINUX-X86_64: pushq %{{.*}} | 20 ; LINUX-X86_64: pushq %{{.*}} |
18 ; LINUX-X86_64-NOT: subq {{.*}}, %rsp | 21 ; LINUX-X86_64-NOT: subq {{.*}}, %rsp |
19 ; DARWIN-X86_64: pushq %{{.*}} | 22 ; DARWIN-X86_64: pushq %{{.*}} |
20 ; DARWIN-X86_64-NOT: subq {{.*}}, %rsp | 23 ; DARWIN-X86_64-NOT: subq {{.*}}, %rsp |
21 ; NETBSD-X86_64: pushq %{{.*}} | 24 ; NETBSD-X86_64: pushq %{{.*}} |
22 ; NETBSD-X86_64-NOT: subq {{.*}}, %rsp | 25 ; NETBSD-X86_64-NOT: subq {{.*}}, %rsp |
26 ; KFREEBSD-X86_64: pushq %{{.*}} | |
27 ; KFREEBSD-X86_64-NOT: subq {{.*}}, %rsp | |
23 } | 28 } |
24 | 29 |
25 declare void @test2() | 30 declare void @test2() |