[cfe-commits] r70481 - /cfe/trunk/lib/CodeGen/CGCall.cpp
Chris Lattner
sabre at nondot.org
Wed Apr 29 23:22:08 PDT 2009
Author: lattner
Date: Thu Apr 30 01:22:07 2009
New Revision: 70481
URL: http://llvm.org/viewvc/llvm-project?rev=70481&view=rev
Log:
fix i128 to return in 2 64-bit registers (rax/rdx on x86-64)
Modified:
cfe/trunk/lib/CodeGen/CGCall.cpp
Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=70481&r1=70480&r2=70481&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Thu Apr 30 01:22:07 2009
@@ -641,8 +641,8 @@
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) {
More information about the cfe-commits
mailing list