From: Martell Malone Date: Tue, 3 Nov 2015 15:57:45 +0000 (+0000) Subject: Remove some legacy mingw-w64 gcc struct info X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f30ee16f2ebe0d4a5c7258b4c910a95b938f277;p=clang Remove some legacy mingw-w64 gcc struct info As of gcc 4.7 mingw-w64 no longer emits 128-bit structs as i128 Differential Revision: http://reviews.llvm.org/D14179 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251930 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 0131f9dbb1..06a2e71f5c 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -3333,10 +3333,6 @@ ABIArgInfo WinX86_64ABIInfo::classify(QualType Ty, unsigned &FreeSSERegs, if (RT->getDecl()->hasFlexibleArrayMember()) return getNaturalAlignIndirect(Ty, /*ByVal=*/false); - // FIXME: mingw-w64-gcc emits 128-bit struct as i128 - if (Width == 128 && IsMingw64) - return ABIArgInfo::getDirect( - llvm::IntegerType::get(getVMContext(), Width)); } // vectorcall adds the concept of a homogenous vector aggregate, similar to