]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix reduc_index calculation in vectorizable_condition
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2019 10:41:45 +0000 (10:41 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2019 10:41:45 +0000 (10:41 +0000)
commit736b509a58339bc4eaf9305c2edf28282823ad53
tree4e6c65ed8087dd3436f8b1ddb9c0d2ab3ee5c840
parent41c9bbbec1df84e9524a12d6136f5ca35663b292
Fix reduc_index calculation in vectorizable_condition

Fixes ICEs in gcc.target/aarch64/sve/clastb*.

2019-10-29  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vect-stmts.c (vectorizable_condition): Get the reduction
index for the COND_EXPR from stmt_info rather than reduc_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277567 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-stmts.c