r251930 - Remove some legacy mingw-w64 gcc struct info
Martell Malone via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 3 07:57:45 PST 2015
Author: martell
Date: Tue Nov 3 09:57:45 2015
New Revision: 251930
URL: http://llvm.org/viewvc/llvm-project?rev=251930&view=rev
Log:
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
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=251930&r1=251929&r2=251930&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Tue Nov 3 09:57:45 2015
@@ -3333,10 +3333,6 @@ ABIArgInfo WinX86_64ABIInfo::classify(Qu
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
More information about the cfe-commits
mailing list