Add pointer to PR92772
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 17 Dec 2019 13:01:36 +0000 (13:01 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Tue, 17 Dec 2019 13:01:36 +0000 (13:01 +0000)
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

gcc/ChangeLog
gcc/tree-vect-loop.c

index 161768c74055db6b20b4e1139e409c04a996b7ef..143fd48e07a168a9fcdd217b4dd8a22b8865e326 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 353a5ff06e14d21d15cb98fc2b5a654072dc5b4f..68699f2d814c3c12685a7b52d1c8882078a79dbd 100644 (file)
@@ -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;