From: Diego Novillo Date: Sun, 5 Sep 2004 11:43:42 +0000 (+0000) Subject: tree-if-conv.c (gate_tree_if_conversion): Enable only if the vectorizer is enabled. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2addf92620c2d652f72c4cb204fb46d980e784e5;p=gcc.git tree-if-conv.c (gate_tree_if_conversion): Enable only if the vectorizer is enabled. * tree-if-conv.c (gate_tree_if_conversion): Enable only if the vectorizer is enabled. From-SVN: r87103 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc16e31daa9..69afbcca0ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-05 Diego Novillo + + * tree-if-conv.c (gate_tree_if_conversion): Enable only if the + vectorizer is enabled. + 2004-09-05 Andreas Jaeger * tree-if-conv.c: Spell check comments and clean up whitespace. diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 3b9151acb8e..5a24091dbbe 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -1078,7 +1078,7 @@ main_tree_if_conversion (void) static bool gate_tree_if_conversion (void) { - return true; + return flag_tree_vectorize != 0; } struct tree_opt_pass pass_if_conversion =