aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2019-12-17 13:01:36 +0000
committerAndrew Stubbs <ams@gcc.gnu.org>2019-12-17 13:01:36 +0000
commit8354bb0ebe5be8427c3795d0a32ad0564bf71489 (patch)
tree0cca6c23d69ed1ffb2d54c0cd1df14d531f982a0 /gcc
parentb92d1124e15db0186e616a7c9d4f8e69d92aa015 (diff)
downloadgcc-8354bb0ebe5be8427c3795d0a32ad0564bf71489.zip
gcc-8354bb0ebe5be8427c3795d0a32ad0564bf71489.tar.gz
gcc-8354bb0ebe5be8427c3795d0a32ad0564bf71489.tar.bz2
Add pointer to PR92772
2019-12-17 Andrew Stubbs <ams@codesourcery.com> * tree-vect-loop.c (vect_create_epilog_for_reduction): Mention pr92772 in the comments. From-SVN: r279460
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-vect-loop.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 161768c..143fd48 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2019-12-17 Andrew Stubbs <ams@codesourcery.com>
+ * tree-vect-loop.c (vect_create_epilog_for_reduction): Mention pr92772
+ in the comments.
+
+2019-12-17 Andrew Stubbs <ams@codesourcery.com>
+
* config/gcn/gcn-valu.md (extract_last_<mode>): New expander.
(fold_extract_last_<mode>): New expander.
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
index 353a5ff..68699f2 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<std::pair<tree, bool>, 2> ccompares;