aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-07-29 21:44:42 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2001-07-29 19:44:42 +0000
commitb5832b43726d2d44b202c7a5669b3e97a2bc60c2 (patch)
tree19cc9892c443cb833b456226ee6217fae10f6a91 /gcc/rtl.h
parent12285d9df86f4fa4ece1667265fe129e25287907 (diff)
downloadgcc-b5832b43726d2d44b202c7a5669b3e97a2bc60c2.zip
gcc-b5832b43726d2d44b202c7a5669b3e97a2bc60c2.tar.gz
gcc-b5832b43726d2d44b202c7a5669b3e97a2bc60c2.tar.bz2
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
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h4
1 files changed, 4 insertions, 0 deletions
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