]> granicus.if.org Git - clang/commit
Implement MipsABIInfo::EmitVAArg. This fix enables clang to complete compilation
authorAkira Hatanaka <ahatanak@gmail.com>
Mon, 1 Aug 2011 20:48:01 +0000 (20:48 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Mon, 1 Aug 2011 20:48:01 +0000 (20:48 +0000)
commitc35e69d758e43563ec3785cdd4472d9f2386cf9a
treedb9180b9cb11a7da77784325a8792236771386d9
parent8c221b84caff1f10ef4aad5c6ff77d36633f607c
Implement MipsABIInfo::EmitVAArg. This fix enables clang to complete compilation
without bailing out when va_arg is an aggregate expression. However,
alignment checking needs to be added in isSafeToEliminateVarargsCast in
InstCombineCalls.cpp in order to produce correct mips code (see link below).

http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-July/042047.html

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp