From b5832b43726d2d44b202c7a5669b3e97a2bc60c2 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 29 Jul 2001 21:44:42 +0200 Subject: Suggested by Richard Henderson and Richard Kenner: * combine.c (recog_for_combine): Use the fake recog only if instruction does not match. * rtl.h (NOOP_MOVE_INSN_CODE): New. * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE. * combine.c (try_combine): Discover noop jump as direct jump. From-SVN: r44464 --- gcc/rtl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index e7fdc98..da454c2 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -35,6 +35,10 @@ struct function; union tree_node; #endif +/* Value used by some passes to "recognize" noop moves as valid instructions. + */ +#define NOOP_MOVE_INSN_CODE INT_MAX + /* Register Transfer Language EXPRESSIONS CODES */ #define RTX_CODE enum rtx_code -- cgit v1.1