summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-11-12 01:57:22 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-11-12 01:57:22 +0000
commit7453e68c51619157e82d7b639b95a38f577ebc39 (patch)
treeb086999142cb8522543bd1d96b044cb7cd21f4f0
parent355d7937366e07e65d8edcfb846f59f9111e77e9 (diff)
downloadllvm-7453e68c51619157e82d7b639b95a38f577ebc39.tar.gz
Merging r251930:
------------------------------------------------------------------------ r251930 | martellmalone | 2015-11-03 10:57:45 -0500 (Tue, 03 Nov 2015) | 6 lines 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 llvm-svn: 252844
-rw-r--r--clang/lib/CodeGen/TargetInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index 48a8b37e8dbc..960028a9a86d 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/lib/CodeGen/TargetInfo.cpp
@@ -3071,10 +3071,6 @@ ABIArgInfo WinX86_64ABIInfo::classify(QualType Ty, unsigned &FreeSSERegs,
if (RT->getDecl()->hasFlexibleArrayMember())
return ABIArgInfo::getIndirect(0, /*ByVal=*/false);
- // FIXME: mingw-w64-gcc emits 128-bit struct as i128
- if (Width == 128 && getTarget().getTriple().isWindowsGNUEnvironment())
- return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),
- Width));
}
// vectorcall adds the concept of a homogenous vector aggregate, similar to