r240601 - update comment

Derek Schuff dschuff at google.com
Wed Jun 24 15:36:38 PDT 2015


Author: dschuff
Date: Wed Jun 24 17:36:38 2015
New Revision: 240601

URL: http://llvm.org/viewvc/llvm-project?rev=240601&view=rev
Log:
update comment

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=240601&r1=240600&r2=240601&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Wed Jun 24 17:36:38 2015
@@ -2498,8 +2498,10 @@ GetX86_64ByValArgumentPair(llvm::Type *L
   // of the second element because it might make us access off the end of the
   // struct.
   if (HiStart != 8) {
-    // There are only two sorts of types the ABI generation code can produce for
-    // the low part of a pair that aren't 8 bytes in size: float or i8/i16/i32.
+    // There are usually two sorts of types the ABI generation code can produce
+    // for the low part of a pair that aren't 8 bytes in size: float or
+    // i8/i16/i32.  This can also include pointers when they are 32-bit (X32 and
+    // NaCl).
     // Promote these to a larger type.
     if (Lo->isFloatTy())
       Lo = llvm::Type::getDoubleTy(Lo->getContext());





More information about the cfe-commits mailing list