]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/95487 - use a truth type for scatter masks
authorRichard Biener <rguenther@suse.de>
Wed, 3 Jun 2020 13:51:29 +0000 (15:51 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 3 Jun 2020 16:59:13 +0000 (18:59 +0200)
commit887c45fb5b047171e82710baa51108d5c210eb42
tree9ef19f65170468c005667141ace5ef182a89e6c4
parent6d36cc21b69d952967a4df6653954f572a101796
tree-optimization/95487 - use a truth type for scatter masks

This makes sure to get a truth type for scatter masks even when they
are invariant.

2020-06-03  Richard Biener  <rguenther@suse.de>

PR tree-optimization/95487
* tree-vect-stmts.c (vectorizable_store): Use a truth type
for the scatter mask.

* g++.dg/vect/pr95487.cc: New testcase.
gcc/testsuite/g++.dg/vect/pr95487.cc [new file with mode: 0644]
gcc/tree-vect-stmts.c
This page took 0.083726 seconds and 6 git commands to generate.