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
64ed6e02
Commit
64ed6e02
authored
Jun 13, 2007
by
Matthias Braun
Browse files
invalidate outs in condeval and convopt
[r14456]
parent
d7a1deb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/opt/condeval.c
View file @
64ed6e02
...
...
@@ -513,6 +513,7 @@ void opt_cond_eval(ir_graph* irg)
if
(
changed
)
{
/* control flow changed, some blocks may become dead */
set_irg_outs_inconsistent
(
irg
);
set_irg_doms_inconsistent
(
irg
);
set_irg_extblk_inconsistent
(
irg
);
set_irg_loopinfo_inconsistent
(
irg
);
...
...
ir/opt/convopt.c
View file @
64ed6e02
...
...
@@ -165,7 +165,8 @@ int is_downconv(ir_mode *src_mode, ir_mode *dest_mode)
get_mode_size_bits
(
dest_mode
)
<
get_mode_size_bits
(
src_mode
);
}
/* TODO, backends can't handle and it's probably not more efficient on most
/* TODO, backends (at least ia23) can't handle it at the moment,
and it's probably not more efficient on most
archs */
#if 0
static
...
...
@@ -224,9 +225,16 @@ void conv_opt(ir_graph *irg)
DB
((
dbg
,
LEVEL_1
,
"===> Performing conversion optimization on %+F
\n
"
,
irg
));
edges_assure
(
irg
);
char
invalidate
=
0
;
do
{
changed
=
0
;
irg_walk_graph
(
irg
,
NULL
,
conv_opt_walker
,
NULL
);
local_optimize_graph
(
irg
);
if
(
changed
)
invalidate
=
1
;
}
while
(
changed
);
if
(
invalidate
)
{
set_irg_outs_inconsistent
(
irg
);
}
}
Write
Preview
Supports
Markdown
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