[llvm-commits] [llvm-gcc-4.2] r50879 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Devang Patel
dpatel at apple.com
Thu May 8 17:54:06 PDT 2008
Author: dpatel
Date: Thu May 8 19:54:05 2008
New Revision: 50879
URL: http://llvm.org/viewvc/llvm-project?rev=50879&view=rev
Log:
Vectors bigger than 128 are returned using sret.
This fixes few failures in compat.exp for x86-64 darwin target.
(from Tak branch)
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp?rev=50879&r1=50878&r2=50879&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp Thu May 8 19:54:05 2008
@@ -830,9 +830,9 @@
if (TREE_INT_CST_LOW(TYPE_SIZE(type))==64 &&
TYPE_VECTOR_SUBPARTS(type)>1)
return true;
- if (TREE_INT_CST_LOW(TYPE_SIZE(type))>128)
- return true;
}
+ if (TREE_INT_CST_LOW(TYPE_SIZE(type))>128)
+ return true;
return false;
}
More information about the llvm-commits
mailing list