aboutsummaryrefslogtreecommitdiff
path: root/gcc/hw-doloop.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-07-05 08:01:48 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-07-05 08:01:48 +0000
commit89f7b21fb0dfb2b9c7339b44035df76e2265d489 (patch)
treef95b1bc19179206a2e7d46a7587619466659f205 /gcc/hw-doloop.c
parentf2cf13bd7c00ec7d12e7bddfefeb5eea84a14f74 (diff)
downloadgcc-89f7b21fb0dfb2b9c7339b44035df76e2265d489.zip
gcc-89f7b21fb0dfb2b9c7339b44035df76e2265d489.tar.gz
gcc-89f7b21fb0dfb2b9c7339b44035df76e2265d489.tar.bz2
target-insns.def (doloop_begin, doloop_end): New targetm instruction patterns.
gcc/ * target-insns.def (doloop_begin, doloop_end): New targetm instruction patterns. * loop-init.c: Include target.h. (pass_loop2::gate): Use the new targetm patterns instead of HAVE_*/gen_* interface. (pass_rtl_doloop::gate): Likewise. (pass_rtl_doloop::execute): Remove preprocessor condition. * hw-doloop.c: Build unconditionally. * loop-doloop.c: Likewise. (doloop_optimize): Use the new targetm patterns instead of HAVE_*/gen_* interface. (doloop_modify): Likewise. Change type of doloop_seq to rtx_insn *. * modulo-sched.c (doloop_register_get): Likewise. From-SVN: r225431
Diffstat (limited to 'gcc/hw-doloop.c')
-rw-r--r--gcc/hw-doloop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/hw-doloop.c b/gcc/hw-doloop.c
index e00c3d75..2341bc6 100644
--- a/gcc/hw-doloop.c
+++ b/gcc/hw-doloop.c
@@ -52,8 +52,6 @@ along with GCC; see the file COPYING3. If not see
#include "hw-doloop.h"
#include "dumpfile.h"
-#ifdef HAVE_doloop_end
-
/* Dump information collected in LOOPS. */
static void
dump_hwloops (hwloop_info loops)
@@ -685,4 +683,3 @@ reorg_loops (bool do_reorder, struct hw_doloop_hooks *hooks)
if (dump_file)
print_rtl (dump_file, get_insns ());
}
-#endif