diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-12-06 03:08:26 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-12-06 03:08:26 +0000 |
commit | 68805fef77978e69a14584148a3c6a4239e34171 (patch) | |
tree | b610d8dedcb7e604837acb4ec21514f5ac864b7c /lib/CodeGen/TargetInfo.cpp | |
parent | b92e5d0acbb21e57498fcc4157e108a50c82b857 (diff) |
Minor comment update.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 16d22dd53c..99cd579d4a 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -988,7 +988,9 @@ public: // The default CC on x86-64 sets %al to the number of SSA // registers used, and GCC sets this when calling an unprototyped // function, so we override the default behavior. However, don't do - // that when AVX types are involved. + // that when AVX types are involved: the ABI explicitly states it is + // undefined, and it doesn't work in practice because of how the ABI + // defines varargs anyway. if (FI.getCallingConvention() == llvm::CallingConv::C) { bool HasAVXType = false; for (CGFunctionInfo::const_arg_iterator it = FI.arg_begin(), |