hw-doloop.c (scan_loop): Compute register usage only for non-debug insns.

* hw-doloop.c (scan_loop): Compute register usage only for non-debug
	insns.

From-SVN: r179379
This commit is contained in:
Bernd Schmidt 2011-09-30 12:26:57 +00:00 committed by Bernd Schmidt
parent 8d4f1548bd
commit f27a3d372a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-30 Bernd Schmidt <bernds@codesourcery.com>
* hw-doloop.c (scan_loop): Compute register usage only for non-debug
insns.
2011-09-30 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/50099

View File

@ -123,7 +123,7 @@ scan_loop (hwloop_info loop)
df_ref *def_rec;
HARD_REG_SET set_this_insn;
if (!INSN_P (insn))
if (!NONDEBUG_INSN_P (insn))
continue;
if (recog_memoized (insn) < 0