arc: Don't use if-conversion when optimizing for size.
authorClaudiu Zissulescu <claziss@gmail.com>
Thu, 13 Feb 2020 10:32:05 +0000 (12:32 +0200)
committerClaudiu Zissulescu <claziss@gmail.com>
Thu, 13 Feb 2020 10:49:12 +0000 (12:49 +0200)
commitac5e8d2fa0c3a44a0576e11b758fbecc9a1a2f99
tree81f942118063ec953e23913f2baaa4f1d4230bf9
parent9ebba06b5b969f299a881549bdd745397d2c2634
arc: Don't use if-conversion when optimizing for size.

For ARC, predicated instructions are not very friendly with size
optimizations, leading to increased object size. Disable if-conversion
step when optimized for size.

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* common/config/arc/arc-common.c (arc_option_optimization_table):
Disable if-conversion step when optimized for size.

Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
gcc/ChangeLog
gcc/common/config/arc/arc-common.c