projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove deprecated support for bitfield masking
[libfirm]
/
ir
/
lower
/
lower_mux.c
diff --git
a/ir/lower/lower_mux.c
b/ir/lower/lower_mux.c
index
11de6ae
..
40221fb
100644
(file)
--- a/
ir/lower/lower_mux.c
+++ b/
ir/lower/lower_mux.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-20
08
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-20
11
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-21,7
+21,6
@@
* @file
* @brief Replaces Mux nodes with control-flow
* @author Olaf Liebe
* @file
* @brief Replaces Mux nodes with control-flow
* @author Olaf Liebe
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-114,7
+113,7
@@
static void lower_mux_node(ir_node* mux)
void lower_mux(ir_graph *irg, lower_mux_callback *cb_func)
{
void lower_mux(ir_graph *irg, lower_mux_callback *cb_func)
{
-
int
i, n_muxes;
+
size_t
i, n_muxes;
walk_env_t env;
/* Scan the graph for mux nodes to lower. */
walk_env_t env;
/* Scan the graph for mux nodes to lower. */
@@
-137,10
+136,7
@@
void lower_mux(ir_graph *irg, lower_mux_callback *cb_func)
/* Cleanup, verify the graph. */
ir_free_resources(irg, resources);
/* Cleanup, verify the graph. */
ir_free_resources(irg, resources);
- set_irg_outs_inconsistent(irg);
- set_irg_doms_inconsistent(irg);
- set_irg_extblk_inconsistent(irg);
- set_irg_loopinfo_inconsistent(irg);
+ clear_irg_state(irg, IR_GRAPH_STATE_CONSISTENT_DOMINANCE);
}
DEL_ARR_F(env.muxes);
}
}
DEL_ARR_F(env.muxes);
}