aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgbuild.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-06-12 16:51:09 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2002-06-12 14:51:09 +0000
commit495333a652d5ca1dbeee793e56d158bf41023bbd (patch)
tree701aae7fc166b5ad570e72afccb4df30e0b4c171 /gcc/cfgbuild.c
parent8ddfd7e562365b9684e64cedb2325121ea570878 (diff)
downloadgcc-495333a652d5ca1dbeee793e56d158bf41023bbd.zip
gcc-495333a652d5ca1dbeee793e56d158bf41023bbd.tar.gz
gcc-495333a652d5ca1dbeee793e56d158bf41023bbd.tar.bz2
i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to decide whether emit the short opcode.
* i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to decide whether emit the short opcode. * i386.h (x86_shift1): Declare. (TARGET_SHIFT1): New macro. * i386.c (x86_shift1): New global variable. * toplev.c (rest_of_compilation): Call find_basic_block pre-loop unconditionally; make loop to rebuild CFG; kill unnecesary find_basic_block calls; kill compute_bb_for_insn call. * cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call. * haifa-sched.c (sched_init): Likewise. * ssa-ccp.c (ssa_const_prop): Likewise. * ssa-dce.c (ssa_eliminate_dead_code): Likewise. From-SVN: r54552
Diffstat (limited to 'gcc/cfgbuild.c')
-rw-r--r--gcc/cfgbuild.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index 6b7a9ad..8b7b705 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -647,13 +647,6 @@ find_basic_blocks (f, nregs, file)
find_basic_blocks_1 (f);
- /* Record the block to which an insn belongs. */
- /* ??? This should be done another way, by which (perhaps) a label is
- tagged directly with the basic block that it starts. It is used for
- more than that currently, but IMO that is the only valid use. */
-
- compute_bb_for_insn ();
-
/* Discover the edges of our cfg. */
make_edges (label_value_list, ENTRY_BLOCK_PTR->next_bb, EXIT_BLOCK_PTR->prev_bb, 0);