aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2016-11-16 13:09:12 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2016-11-16 13:09:12 +0000
commit45a9968b378d54ced8f742e1ff8b01c9378b339c (patch)
treee290e8be32aa91661b4bf839f25ff6e966ac6737 /gcc/ChangeLog
parent41c7cac56c4e6fd1f65281ae3a49bc2308be5191 (diff)
downloadgcc-45a9968b378d54ced8f742e1ff8b01c9378b339c.zip
gcc-45a9968b378d54ced8f742e1ff8b01c9378b339c.tar.gz
gcc-45a9968b378d54ced8f742e1ff8b01c9378b339c.tar.bz2
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. gcc/ 2016-11-15 Richard Sandiford <richard.sandiford@arm.com> Alan Hayward <alan.hayward@arm.com> David Sherwood <david.sherwood@arm.com> * optabs.c (vector_compare_rtx): Add a cmp_mode parameter and use it in the final call to gen_rtx_fmt_ee. (expand_vec_cond_expr): Update accordingly. (expand_vec_cmp_expr): Likewise. Co-Authored-By: Alan Hayward <alan.hayward@arm.com> Co-Authored-By: David Sherwood <david.sherwood@arm.com> From-SVN: r242489
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fe32d0f..a49cda3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -2,6 +2,15 @@
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
+ * optabs.c (vector_compare_rtx): Add a cmp_mode parameter
+ and use it in the final call to gen_rtx_fmt_ee.
+ (expand_vec_cond_expr): Update accordingly.
+ (expand_vec_cmp_expr): Likewise.
+
+2016-11-16 Richard Sandiford <richard.sandiford@arm.com>
+ Alan Hayward <alan.hayward@arm.com>
+ David Sherwood <david.sherwood@arm.com>
+
* cprop.c (local_cprop_find_used_regs): Use df_read_modify_subreg_p.
2016-11-16 Richard Biener <rguenther@suse.de>