[llvm-branch-commits] [llvm-gcc-branch] r91453 - /llvm-gcc-4.2/branches/Apple/Zoidberg/gcc/config/arm/llvm-arm-target.h
Bob Wilson
bob.wilson at apple.com
Tue Dec 15 13:12:37 PST 2009
Author: bwilson
Date: Tue Dec 15 15:12:37 2009
New Revision: 91453
URL: http://llvm.org/viewvc/llvm-project?rev=91453&view=rev
Log:
--- Merging r91452 into '.':
U gcc/config/arm/llvm-arm-target.h
Modified:
llvm-gcc-4.2/branches/Apple/Zoidberg/gcc/config/arm/llvm-arm-target.h
Modified: llvm-gcc-4.2/branches/Apple/Zoidberg/gcc/config/arm/llvm-arm-target.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Zoidberg/gcc/config/arm/llvm-arm-target.h?rev=91453&r1=91452&r2=91453&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Zoidberg/gcc/config/arm/llvm-arm-target.h (original)
+++ llvm-gcc-4.2/branches/Apple/Zoidberg/gcc/config/arm/llvm-arm-target.h Tue Dec 15 15:12:37 2009
@@ -82,6 +82,10 @@
#define LLVM_SHOULD_NOT_USE_SHADOW_RETURN(X, CC) \
llvm_arm_should_pass_or_return_aggregate_in_regs((X), (CC))
+/* Vectors bigger than 128 are returned using sret. */
+#define LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW(X, isBuiltin) \
+ (TREE_INT_CST_LOW(TYPE_SIZE(X)) > 128)
+
#endif /* LLVM_ABI_H */
#endif /* ENABLE_LLVM */
/* LLVM LOCAL end (ENTIRE FILE!) */
More information about the llvm-branch-commits
mailing list