+2009-09-15 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin/bfin.c (length_for_loop): Use NONDEBUG_INSN_P
+ instead of INSN_P.
+ (bfin_optimize_loop): Likewise.
+ (bfin_gen_bundles): Likewise.
+ (workaround_speculation): Likewise.
+ (find_load): Return NULL_RTX for debug_insn.
+
2009-09-15 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.md (smaxsf3): Disable for IEEE mode.
length = 4;
}
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
length += get_attr_length (insn);
return length;
{
for (; last_insn != BB_HEAD (bb);
last_insn = find_prev_insn_start (last_insn))
- if (INSN_P (last_insn))
+ if (NONDEBUG_INSN_P (last_insn))
break;
if (last_insn != BB_HEAD (bb))
int at_end;
rtx delete_this = NULL_RTX;
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
{
enum attr_type type = get_attr_type (insn);
static rtx
find_load (rtx insn)
{
+ if (!NONDEBUG_INSN_P (insn))
+ return NULL_RTX;
if (get_attr_type (insn) == TYPE_MCLD)
return insn;
if (GET_MODE (insn) != SImode)
delay_needed = 3;
}
}
- else if (INSN_P (insn))
+ else if (NONDEBUG_INSN_P (insn))
{
rtx load_insn = find_load (insn);
enum attr_type type = type_for_anomaly (insn);
|| GET_CODE (pat) == ADDR_DIFF_VEC || asm_noperands (pat) >= 0)
continue;
- if (INSN_P (target))
+ if (NONDEBUG_INSN_P (target))
{
rtx load_insn = find_load (target);
enum attr_type type = type_for_anomaly (target);