[llvm-branch-commits] [llvm-branch] r118215 - /llvm/branches/Apple/Morbo/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Wed Nov 3 17:28:27 PDT 2010
Author: evancheng
Date: Wed Nov 3 19:28:26 2010
New Revision: 118215
URL: http://llvm.org/viewvc/llvm-project?rev=118215&view=rev
Log:
Merge r117322 to address rdar://8613512.
Modified:
llvm/branches/Apple/Morbo/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/branches/Apple/Morbo/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/Target/X86/X86ISelLowering.cpp?rev=118215&r1=118214&r2=118215&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/Target/X86/X86ISelLowering.cpp Wed Nov 3 19:28:26 2010
@@ -2492,6 +2492,11 @@
}
}
+ // An stdcall caller is expected to clean up its arguments; the callee
+ // isn't going to do that. PR 8461.
+ if (!CCMatch && CallerCC==CallingConv::X86_StdCall)
+ return false;
+
return true;
}
More information about the llvm-branch-commits
mailing list