re PR target/89112 (Incorrect code generated by rs6000 memcmp expansion)
authorAaron Sawdey <acsawdey@linux.ibm.com>
Tue, 5 Feb 2019 16:32:06 +0000 (16:32 +0000)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Tue, 5 Feb 2019 16:32:06 +0000 (10:32 -0600)
commitfaaeebd64671ebe0aabf203527bb7bf57476f4f3
tree21306deb7bf07da94f715b9901f4ae061b87d83c
parent60f34f084ad075b1495487c9e6fd2455b1e00551
re PR target/89112 (Incorrect code generated by rs6000 memcmp expansion)

2019-02-05  Aaron Sawdey  <acsawdey@linux.ibm.com>

PR target/89112
* config/rs6000/rs6000-string.c (do_ifelse, expand_cmp_vec_sequence,
expand_compare_loop, expand_block_compare_gpr,
expand_strncmp_align_check, expand_strncmp_gpr_sequence): Insert
REG_BR_PROB notes in inline expansion of memcmp/strncmp. Add
#include "profile-count.h" and "predict.h" for types and functions
needed to work with REG_BR_PROB notes.

From-SVN: r268547
gcc/ChangeLog
gcc/config/rs6000/rs6000-string.c