* config/arm/arm.c (cortex_a9_sched_adjust_cost): Use reg_set_p to
check for dependencies.
From-SVN: r229583
+2015-10-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm.c (cortex_a9_sched_adjust_cost): Use reg_set_p to
+ check for dependencies.
+
2015-10-30 Richard Sandiford <richard.sandiford@arm.com>
* tree-ssa-math-opts.c (pass_cse_sincos::execute): Don't free
case. However this gets modeled as an true
dependency and hence all these checks. */
if (REG_P (SET_DEST (PATTERN (insn)))
- && REG_P (SET_DEST (PATTERN (dep)))
- && reg_overlap_mentioned_p (SET_DEST (PATTERN (insn)),
- SET_DEST (PATTERN (dep))))
+ && reg_set_p (SET_DEST (PATTERN (insn)), dep))
{
/* FMACS is a special case where the dependent
instruction can be issued 3 cycles before