diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-02-25 03:45:37 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-02-25 03:45:37 +0000 |
commit | 2b5936fd6163727b4be123ac730457a2d752aa77 (patch) | |
tree | 1384514299fb504c9d14e1021034eebebf7f8bb6 /gcc/cse.c | |
parent | 964a98317cdebd20f9d2f034068ee7246ce62ff8 (diff) | |
download | gcc-2b5936fd6163727b4be123ac730457a2d752aa77.zip gcc-2b5936fd6163727b4be123ac730457a2d752aa77.tar.gz gcc-2b5936fd6163727b4be123ac730457a2d752aa77.tar.bz2 |
cse.c (delete_trivially_dead_insns): Speed up by minimizing calls to find_reg_note.
* cse.c (delete_trivially_dead_insns): Speed up by minimizing
calls to find_reg_note.
From-SVN: r95532
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7329,7 +7329,7 @@ delete_trivially_dead_insns (rtx insns, int nreg) ndead++; } - if (find_reg_note (insn, REG_LIBCALL, NULL_RTX)) + if (in_libcall && find_reg_note (insn, REG_LIBCALL, NULL_RTX)) { in_libcall = 0; dead_libcall = 0; |