]> granicus.if.org Git - clang/commitdiff
Remove some legacy mingw-w64 gcc struct info
authorMartell Malone <martellmalone@gmail.com>
Tue, 3 Nov 2015 15:57:45 +0000 (15:57 +0000)
committerMartell Malone <martellmalone@gmail.com>
Tue, 3 Nov 2015 15:57:45 +0000 (15:57 +0000)
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

lib/CodeGen/TargetInfo.cpp

index 0131f9dbb1aa8ef8e64b96878fa5339d0e24440d..06a2e71f5c0241d5dee7acc7b8eacef7c0f1f927 100644 (file)
@@ -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