a function to remove blocks that just contain a jump
authorMatthias Braun <matze@braunis.de>
Mon, 4 Sep 2006 06:40:18 +0000 (06:40 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 4 Sep 2006 06:40:18 +0000 (06:40 +0000)
ir/be/beirgmod.h

index 19d11e0..3b60295 100644 (file)
@@ -120,4 +120,10 @@ struct _be_chordal_env_t;
 
 void extreme_liverange_splitting(struct _be_chordal_env_t *cenv);
 
+/**
+ * removes basic blocks that only contain a jump instruction
+ * (this will potentially create critical edges)
+ */
+void be_remove_empty_bocks(ir_graph *irg);
+
 #endif /* _BEIRGMOD_H */