Target/X86: Never use the redzone for Win64 ABI functions.
authorCharles Davis <cdavis5x@gmail.com>
Fri, 27 Feb 2015 21:11:16 +0000 (21:11 +0000)
committerCharles Davis <cdavis5x@gmail.com>
Fri, 27 Feb 2015 21:11:16 +0000 (21:11 +0000)
commit83687fb9e654c9d0086e7f6b728c26fa0b729e71
tree9caf33ad3f62641433067d9728ea3e87ff1333a4
parentd7b6aa3251a3512025fa8488014eae03ca0c3fd2
Target/X86: Never use the redzone for Win64 ABI functions.

Summary:
Until now, we did this (among other things) based on whether or not the
target was Windows. This is clearly wrong, not just for Win64 ABI functions
on non-Windows, but for System V ABI functions on Windows, too. In this
change, we make this decision based on the ABI the calling convention
specifies instead.

Reviewers: rnk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D7953

llvm-svn: 230793
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll