Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
dd69af4a
Commit
dd69af4a
authored
Apr 10, 2010
by
Michael Beck
Browse files
Ignore Id's that arise because we modify the graph before visiting it
... [r27374]
parent
5bfb2955
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/boolopt.c
View file @
dd69af4a
...
...
@@ -585,9 +585,16 @@ static void move_nodes_to_block(ir_node *jmp, ir_node *to_block)
static
void
find_cf_and_or_walker
(
ir_node
*
block
,
void
*
ctx
)
{
int
low_idx
,
up_idx
;
int
n_cfgpreds
=
get_Block_n_cfgpreds
(
block
)
;
int
n_cfgpreds
;
bool_opt_env_t
*
env
=
ctx
;
/* because we modify the graph in regions we might not visited yet,
* Id nodes might arise here. Ignore them.
*/
if
(
is_Id
(
block
))
return
;
n_cfgpreds
=
get_Block_n_cfgpreds
(
block
);
restart:
if
(
n_cfgpreds
<
2
)
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment