summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-29 19:44:42 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-29 19:44:42 +0000
commit1805c35c62a9829b19eb9ea84ecdeedd8a46d53e (patch)
tree19cc9892c443cb833b456226ee6217fae10f6a91 /gcc/rtl.h
parentf0fe3b14c6cf97653c99de34ef7dc9cbd32a801b (diff)
downloadgcc-1805c35c62a9829b19eb9ea84ecdeedd8a46d53e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44464 138bc75d-0d04-0410-961f-82ee72b054a4
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 e7fdc98a715..da454c282d6 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