This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242098 - /branches/ARM/sve-branch/gcc/optabs.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 16:58:57 -0000
- Subject: r242098 - /branches/ARM/sve-branch/gcc/optabs.c
Author: rsandifo
Date: Fri Nov 11 16:58:57 2016
New Revision: 242098
URL: https://gcc.gnu.org/viewcvs?rev=242098&root=gcc&view=rev
Log:
Fix vec_cmp comparison mode
vec_cmps assign the result of a vector comparison to a mask.
The optab was called with the destination having mode mask_mode
but with the source (the comparison) having mode VOIDmode,
which led to invalid rtl if the source operand was used directly.
Modified:
branches/ARM/sve-branch/gcc/optabs.c