2017-11-15 Martin Liska <mliska@suse.cz>
PR target/82927
* config/sh/sh-mem.cc: Use proper probability for
REG_BR_PROB_NOTE.
From-SVN: r254755
+2017-11-15 Martin Liska <mliska@suse.cz>
+
+ PR target/82927
+ * config/sh/sh-mem.cc: Use proper probability for
+ REG_BR_PROB_NOTE.
+
2017-11-14 Jeff Law <law@redhat.com>
* explow.c (anti_adjust_stack_and_probe_stack_clash): Avoid probing
return false;
}
-static const int prob_unlikely = REG_BR_PROB_BASE / 10;
-static const int prob_likely = REG_BR_PROB_BASE / 4;
+static const int prob_unlikely
+ = profile_probability::from_reg_br_prob_base (REG_BR_PROB_BASE / 10)
+ .to_reg_br_prob_note ();
+static const int prob_likely
+ = profile_probability::from_reg_br_prob_base (REG_BR_PROB_BASE / 4)
+ .to_reg_br_prob_note ();
/* Emit code to perform a strcmp.