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
bcf7240e
Commit
bcf7240e
authored
May 04, 2011
by
Christoph Mallon
Browse files
Model (un)reachable block info with bottom/top, not false/true.
parent
fb5957cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/fp-vrp.c
View file @
bcf7240e
...
...
@@ -169,9 +169,9 @@ static int transfer(ir_node* const irn)
DB
((
dbg
,
LEVEL_3
,
"transfer %+F
\n
"
,
irn
));
if
(
b
->
z
==
f
&&
b
->
o
==
f
)
{
if
(
b
->
z
==
f
)
{
z
=
f
;
o
=
f
;
o
=
t
;
}
else
switch
(
get_irn_opcode
(
irn
))
{
case
iro_Proj
:
{
ir_node
*
const
pred
=
get_Proj_pred
(
irn
);
...
...
@@ -249,8 +249,13 @@ result_unknown_X:
irn
==
get_irg_end_block
(
irg
);
}
o
=
f
;
z
=
reachable
?
t
:
f
;
if
(
reachable
)
{
z
=
t
;
o
=
f
;
}
else
{
z
=
f
;
o
=
t
;
}
}
else
if
(
mode_is_intb
(
m
))
{
DB
((
dbg
,
LEVEL_3
,
"transfer %+F
\n
"
,
irn
));
switch
(
get_irn_opcode
(
irn
))
{
...
...
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