From: Thierry L. <thi...@in...> - 2010-03-08 16:39:47
|
Index: gcc/config/cil32/cil-lower.c =================================================================== --- gcc/config/cil32/cil-lower.c (revision 156016) +++ gcc/config/cil32/cil-lower.c (working copy) @@ -1,6 +1,6 @@ /* CIL IR lowering. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2010 Free Software Foundation, Inc. This file is part of GCC. @@ -23,11 +23,13 @@ Andrea C. Ornstein Erven Rohou Gabriele Svelto + Thierry Lafage Contact information at STMicroelectronics: Andrea C. Ornstein <and...@st...> Contact information at INRIA: Erven Rohou <erv...@in...> +Thierry Lafage <thi...@in...> */ #include <stdio.h> @@ -52,6 +54,8 @@ * Globals * ******************************************************************************/ +extern int flag_tree_vectorize; // TL // This avoids including options.h + enum simd_backend simd_type = UNDEF_SIMD; /****************************************************************************** @@ -591,8 +595,7 @@ static bool lower_cil_gate (void) { - /* FIXME: should lower only if vector types are handled in this funtion. */ - return true; + return flag_tree_vectorize != 0; } |