From 23bed4148e21886be1ccd8840bcd7a84e1bdfcec Mon Sep 17 00:00:00 2001 From: William Schmidt Date: Wed, 16 Nov 2016 22:31:24 +0000 Subject: [PATCH] Commentary corrections From-SVN: r242521 --- gcc/tree-if-conv.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index e173fabf550..46d6b342328 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -2803,12 +2803,9 @@ tree_if_conversion (struct loop *loop) || loop->dont_vectorize)) goto cleanup; - /* Since we have no cost model, always version loops if vectorization - is enabled. Either version this loop, or if the pattern is right - for outer-loop vectorization, version the outer loop. In the - latter case we will still if-convert the original inner loop. */ - /* FIXME: When SLP vectorization can handle if-conversion on its own, - predicate all of if-conversion on flag_tree_loop_vectorize. */ + /* Either version this loop, or if the pattern is right for outer-loop + vectorization, version the outer loop. In the latter case we will + still if-convert the original inner loop. */ if ((any_pred_load_store || any_complicated_phi) && !version_loop_for_if_conversion (versionable_outer_loop_p (loop_outer (loop)) -- 2.30.2