summaryrefslogtreecommitdiffstats
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-18 22:52:05 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-18 22:52:05 +0000
commit7f42fe2449eeb85253e771f44f8f2a47be961d72 (patch)
tree97345dfea977f820d999cfa91b9565f89057e6f7 /gcc/basic-block.h
parent4e4ff25cca81ca35d333e94016289468eddcd555 (diff)
downloadppe42-gcc-7f42fe2449eeb85253e771f44f8f2a47be961d72.tar.gz
ppe42-gcc-7f42fe2449eeb85253e771f44f8f2a47be961d72.zip
* Makefile.in (ifcvt.o): Add cfgloop.h.
* basic-block.h (EDGE_LOOP_EXIT): New flag. * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly. * ifcvt.c: Include cfgloop.h. (mark_loop_exit_edges): New static function. (if_convert): Call it. (find_if_header): Ignore branches out of loops. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69572 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 0558fe81f5d..221b2466985 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -152,7 +152,8 @@ typedef struct edge_def {
flow. */
#define EDGE_IRREDUCIBLE_LOOP 128 /* Part of irreducible loop. */
#define EDGE_SIBCALL 256 /* Edge from sibcall to exit. */
-#define EDGE_ALL_FLAGS 511
+#define EDGE_LOOP_EXIT 512 /* Exit of a loop. */
+#define EDGE_ALL_FLAGS 1023
#define EDGE_COMPLEX (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_EH)
OpenPOWER on IntegriCloud