This is the mail archive of the
mailing list for the GCC project.
r242304 - in /branches/ARM/sve-branch/gcc: fold...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:37:20 -0000
- Subject: r242304 - in /branches/ARM/sve-branch/gcc: fold...
Date: Fri Nov 11 17:37:20 2016
New Revision: 242304
Fix folding of vector mask EQ/NE expressions
fold_binary_loc assumed that if the type of the result wasn't a vector,
the operands wouldn't be either. This isn't necessarily true for
EQ_EXPR and NE_EXPR of vector masks, which can return a single scalar
for the mask as a whole.