From: Chris Lattner Date: Thu, 30 Apr 2009 06:22:07 +0000 (+0000) Subject: fix i128 to return in 2 64-bit registers (rax/rdx on x86-64) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae69e005a9072a30262dfe87360b034d4b8e45f2;p=clang fix i128 to return in 2 64-bit registers (rax/rdx on x86-64) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70481 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index a6439fcb03..27322525bb 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -641,8 +641,8 @@ void X86_64ABIInfo::classify(QualType Ty, if (k == BuiltinType::Void) { Current = NoClass; } else if (k == BuiltinType::Int128 || k == BuiltinType::UInt128) { - Lo = Memory; - Hi = Memory; + Lo = Integer; + Hi = Integer; } else if (k >= BuiltinType::Bool && k <= BuiltinType::LongLong) { Current = Integer; } else if (k == BuiltinType::Float || k == BuiltinType::Double) {