2002-06-16 Jeff Law <law@redhat.com>
+ * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic
+ sharing of hard registers.
+
+ * toplev.c (rest_of_compilation): Remove redundant conditional.
+
* toplev.c (rest_of_compilation): Perform a simpler, less costly
cleanup of the CFG when not optimizing.
return stack_pointer_rtx;
}
+#if 0
/* If the per-function register table has been set up, try to re-use
- an existing entry in that table to avoid useless generation of RTL. */
+ an existing entry in that table to avoid useless generation of RTL.
+
+ This code is disabled for now until we can fix the various backends
+ which depend on having non-shared hard registers in some cases. Long
+ term we want to re-enable this code as it can significantly cut down
+ on the amount of useless RTL that gets generated. */
if (cfun
&& cfun->emit
&& regno_reg_rtx
&& regno < FIRST_PSEUDO_REGISTER
&& reg_raw_mode[regno] == mode)
return regno_reg_rtx[regno];
+#endif
return gen_raw_REG (mode, regno);
}
{
timevar_push (TV_JUMP);
- if (flag_delete_null_pointer_checks)
- if (delete_null_pointer_checks (insns))
- cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_PRE_LOOP);
+ if (delete_null_pointer_checks (insns))
+ cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_PRE_LOOP);
timevar_pop (TV_JUMP);
}