aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-04 01:04:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-04 01:04:15 +0000
commit629bc30340e68722b68480129aa38d6405ca8134 (patch)
tree3e39517a2141286eaf4c398ee0ca2f981b25d88b /test
parent92b33088469bee2ea489b79574d26cd3847220ac (diff)
downloadexternal_llvm-629bc30340e68722b68480129aa38d6405ca8134.zip
external_llvm-629bc30340e68722b68480129aa38d6405ca8134.tar.gz
external_llvm-629bc30340e68722b68480129aa38d6405ca8134.tar.bz2
Remove code that pad number of bytes to pop for X86_FastCall CC. The code doesn't do the "aligning" for Cygwin, Mingw, and Windows. But aligning it on Darwin and Linux breaks gcc compatibility. That ruled out all the platforms we support!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/fast-cc-callee-pops.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fast-cc-callee-pops.ll b/test/CodeGen/X86/fast-cc-callee-pops.ll
index 9b03634..941f708 100644
--- a/test/CodeGen/X86/fast-cc-callee-pops.ll
+++ b/test/CodeGen/X86/fast-cc-callee-pops.ll
@@ -3,6 +3,6 @@
; Check that a fastcc function pops its stack variables before returning.
-define x86_fastcallcc void @func(i64 %X, i64 %Y, float %G, double %Z) {
+define x86_fastcallcc void @func(i64 %X, i64 %Y, float %G, double %Z) nounwind {
ret void
}