[cfe-commits] r161702 - /cfe/trunk/lib/CodeGen/TargetInfo.cpp

Manman Ren mren at apple.com
Fri Aug 10 14:32:09 PDT 2012


Author: mren
Date: Fri Aug 10 16:32:09 2012
New Revision: 161702

URL: http://llvm.org/viewvc/llvm-project?rev=161702&view=rev
Log:
Add comments for turning on byval

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=161702&r1=161701&r2=161702&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Fri Aug 10 16:32:09 2012
@@ -2757,6 +2757,8 @@
     }
   }
 
+  // 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) {





More information about the cfe-commits mailing list