Commit 8354bb0e by Andrew Stubbs Committed by Andrew Stubbs

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
parent b92d1124
2019-12-17 Andrew Stubbs <ams@codesourcery.com> 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. * config/gcn/gcn-valu.md (extract_last_<mode>): New expander.
(fold_extract_last_<mode>): New expander. (fold_extract_last_<mode>): New expander.
...@@ -4534,7 +4534,10 @@ vect_create_epilog_for_reduction (stmt_vec_info stmt_info, ...@@ -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. 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 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 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) if (STMT_VINFO_REDUC_TYPE (reduc_info) == COND_REDUCTION)
{ {
auto_vec<std::pair<tree, bool>, 2> ccompares; auto_vec<std::pair<tree, bool>, 2> ccompares;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment