From 8354bb0ebe5be8427c3795d0a32ad0564bf71489 Mon Sep 17 00:00:00 2001 From: Andrew Stubbs Date: Tue, 17 Dec 2019 13:01:36 +0000 Subject: [PATCH] Add pointer to PR92772 2019-12-17 Andrew Stubbs * tree-vect-loop.c (vect_create_epilog_for_reduction): Mention pr92772 in the comments. From-SVN: r279460 --- gcc/ChangeLog | 5 +++++ gcc/tree-vect-loop.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 161768c7405..143fd48e07a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-17 Andrew Stubbs + + * tree-vect-loop.c (vect_create_epilog_for_reduction): Mention pr92772 + in the comments. + 2019-12-17 Andrew Stubbs * config/gcn/gcn-valu.md (extract_last_): New expander. diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index 353a5ff06e1..68699f2d814 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -4534,7 +4534,10 @@ vect_create_epilog_for_reduction (stmt_vec_info stmt_info, containing the last time the condition passed for that vector lane. The first match will be a 1 to allow 0 to be used for non-matching indexes. If there are no matches at all then the vector will be all - zeroes. */ + zeroes. + + PR92772: This algorithm is broken for architectures that support + masked vectors, but do not provide fold_extract_last. */ if (STMT_VINFO_REDUC_TYPE (reduc_info) == COND_REDUCTION) { auto_vec, 2> ccompares; -- 2.30.2