aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-30 06:22:07 +0000
committerChris Lattner <sabre@nondot.org>2009-04-30 06:22:07 +0000
commitae69e005a9072a30262dfe87360b034d4b8e45f2 (patch)
treefb8caec501325b1a609581b67c3a102b0647c7c1
parent4d150c84514dbf15975960a3ea46bdf6b7f16a5b (diff)
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
-rw-r--r--lib/CodeGen/CGCall.cpp4
1 files changed, 2 insertions, 2 deletions
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) {