diff options
author | Manman Ren <mren@apple.com> | 2012-08-10 21:32:09 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-08-10 21:32:09 +0000 |
commit | 60e25804d14a52c173548f0f6c66d3d831cb901c (patch) | |
tree | 3f839558e881446ca7e8b3bfd0e330020b9deecc /lib/CodeGen/TargetInfo.cpp | |
parent | 5e8d300a38fefc021da263d87998b0024aa3b7e0 (diff) |
Add comments for turning on byval
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 752228e2a3..2cd239c81a 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -2757,6 +2757,8 @@ ABIArgInfo ARMABIInfo::classifyArgumentType(QualType Ty) const { } } + // Turn on byval for APCS and AAPCS. + // FIXME: turn on byval for AAPCS_VFP for performance. if (getABIKind() == ARMABIInfo::APCS || getABIKind() == ARMABIInfo::AAPCS) { if (getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(64) || getContext().getTypeAlign(Ty) > 64) { |