diff options
author | Arnold Schwaighofer <arnold.schwaighofer@gmail.com> | 2008-09-22 14:50:07 +0000 |
---|---|---|
committer | Arnold Schwaighofer <arnold.schwaighofer@gmail.com> | 2008-09-22 14:50:07 +0000 |
commit | 4da27f66ca01a88277d8370617b2aebd5763ef3f (patch) | |
tree | 8c33aa2a19ad9ed57f4947b227592e2fdbbeffe0 /test/CodeGen/X86/tailcall-stackalign.ll | |
parent | c821c87af4285fb9f8dec3b1f0084b588ece00ba (diff) | |
download | external_llvm-4da27f66ca01a88277d8370617b2aebd5763ef3f.zip external_llvm-4da27f66ca01a88277d8370617b2aebd5763ef3f.tar.gz external_llvm-4da27f66ca01a88277d8370617b2aebd5763ef3f.tar.bz2 |
Change the calling convention used when tail call optimization is enabled from CC_X86_32_TailCall to CC_X86_32_FastCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/tailcall-stackalign.ll')
-rw-r--r-- | test/CodeGen/X86/tailcall-stackalign.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/tailcall-stackalign.ll b/test/CodeGen/X86/tailcall-stackalign.ll index 8011192..ff960b8 100644 --- a/test/CodeGen/X86/tailcall-stackalign.ll +++ b/test/CodeGen/X86/tailcall-stackalign.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -mtriple=i686-unknown-linux -tailcallopt | grep -A 1 call | grep -A 1 tailcaller | grep subl | grep 20 +; RUN: llvm-as < %s | llc -mtriple=i686-unknown-linux -tailcallopt | grep -A 1 call | grep -A 1 tailcaller | grep subl | grep 12 ; Linux has 8 byte alignment so the params cause stack size 20 when tailcallopt ; is enabled, ensure that a normal fastcc call has matching stack size |