diff options
author | Derek Schuff <dschuff@google.com> | 2012-04-27 23:27:17 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2012-04-27 23:27:17 +0000 |
commit | 9dc28b072279d238ee3568974c2c10debef05df9 (patch) | |
tree | 425c304730380f834b64d5cbd5317bfdcfd2039a /lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 456ff46e668f361f79e8e91f145152089cd7d933 (diff) |
Fix fastcc structure return with fast-isel on x86-32
On x86-32, structure return via sret lets the callee pop the hidden
pointer argument off the stack, which the caller then re-pushes.
However if the calling convention is fastcc, then a register is used
instead, and the caller should not adjust the stack. This is
implemented with a check of IsTailCallConvention
X86TargetLowering::LowerCall but is now checked properly in
X86FastISel::DoSelectCall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions