Re: [PATCH, rs6000] PR target/89112 put branch probabilities on branches generated by inline expansion

2019-02-08 Thread Aaron Sawdey
Missed two more conditional branches created by inline expansion that should have had branch probability notes. 2019-02-08 Aaron Sawdey * config/rs6000/rs6000-string.c (expand_compare_loop, expand_block_compare): Insert REG_BR_PROB notes in inline expansion of memcmp/s

Re: [PATCH, rs6000] PR target/89112 put branch probabilities on branches generated by inline expansion

2019-02-05 Thread Segher Boessenkool
Hi Aaron, On Mon, Feb 04, 2019 at 01:06:57PM -0600, Aaron Sawdey wrote: > This is the second part of the fix for 89112, fixing the conditions that > caused it to happen. > This patch adds REG_BR_PROB notes to the branches generated by inline > expansion of memcmp > and strncmp. This prevents any

[PATCH, rs6000] PR target/89112 put branch probabilities on branches generated by inline expansion

2019-02-04 Thread Aaron Sawdey
This is the second part of the fix for 89112, fixing the conditions that caused it to happen. This patch adds REG_BR_PROB notes to the branches generated by inline expansion of memcmp and strncmp. This prevents any of the code from being marked as cold and moved to the end of the function, which