[llvm-commits] [llvm-gcc-4.2] r62736 - /llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c

Dale Johannesen dalej at apple.com
Wed Jan 21 16:51:52 PST 2009


Author: johannes
Date: Wed Jan 21 18:51:39 2009
New Revision: 62736

URL: http://llvm.org/viewvc/llvm-project?rev=62736&view=rev
Log:
Make VECTOR_SAVE_INLINE be 1 on non-Darwin targets.
Nobody is sure but this is likely to be right.
PR 3190.


Modified:
    llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c

Modified: llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c?rev=62736&r1=62735&r2=62736&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c Wed Jan 21 18:51:39 2009
@@ -70,6 +70,13 @@
 #include "gstab.h"  /* for N_SLINE */
 #endif
 
+/* LLVM LOCAL begin get VECTOR_SAVE_INLINE defined */
+/* We think 1 is right for non-Darwin targets, but no one is sure - PR 3190 */
+#ifndef VECTOR_SAVE_INLINE
+#define VECTOR_SAVE_INLINE(x) (1)
+#endif
+/* LLVM LOCAL end */
+
 /* APPLE LOCAL begin pascal strings */
 #include "../../libcpp/internal.h"
 extern struct cpp_reader* parse_in;





More information about the llvm-commits mailing list