aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 7d1cca20df1..f280d2e3986 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -95,6 +95,8 @@ The varpool data structure:
#include "varray.h"
#include "output.h"
#include "intl.h"
+/* APPLE LOCAL Selective inlining of functions that use Altivec 3837835 */
+#include "function.h"
/* Hash table used to convert declarations into nodes. */
static GTY((param_is (struct cgraph_node))) htab_t cgraph_hash;
@@ -511,6 +513,10 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node)
fprintf (f, " inlinable");
if (TREE_ASM_WRITTEN (node->decl))
fprintf (f, " asm_written");
+ /* APPLE LOCAL begin Selective inlining of functions that use Altivec 3837835 */
+ if (DECL_STRUCT_FUNCTION (node->decl) && DECL_STRUCT_FUNCTION (node->decl)->uses_vector)
+ fprintf (f, " uses_vector");
+ /* APPLE LOCAL end Selective inlining of functions that use Altivec 3837835 */
fprintf (f, "\n called by: ");
for (edge = node->callers; edge; edge = edge->next_caller)