summaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-16 19:55:40 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-16 19:55:40 +0000
commit043115ec2d2ce23d00b19598983d622d2d921e9c (patch)
treee1b8d1443dde493d2c9c34e9b0ab6688fc4cfe05 /gcc/tree-if-conv.c
parent83706e6b57774d492e6be03d9cfd2bbd672668f7 (diff)
downloadgcc-043115ec2d2ce23d00b19598983d622d2d921e9c.tar.gz
Introduce -ftree-loop-vectorize option
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202636 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r--gcc/tree-if-conv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index 07650971ab3..4851023d27f 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -1789,7 +1789,7 @@ main_tree_if_conversion (void)
FOR_EACH_LOOP (li, loop, 0)
if (flag_tree_loop_if_convert == 1
|| flag_tree_loop_if_convert_stores == 1
- || flag_tree_vectorize
+ || flag_tree_loop_vectorize
|| loop->force_vect)
changed |= tree_if_conversion (loop);
@@ -1815,7 +1815,7 @@ main_tree_if_conversion (void)
static bool
gate_tree_if_conversion (void)
{
- return (((flag_tree_vectorize || cfun->has_force_vect_loops)
+ return (((flag_tree_loop_vectorize || cfun->has_force_vect_loops)
&& flag_tree_loop_if_convert != 0)
|| flag_tree_loop_if_convert == 1
|| flag_tree_loop_if_convert_stores == 1);