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
a0a41c13
Commit
a0a41c13
authored
Jul 15, 2015
by
yb9976
Browse files
Recompute possible relations.
This fixes opt/fehler298.c.
parent
e3f2b412
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
a0a41c13
...
...
@@ -5380,7 +5380,9 @@ cmp_x_eq_0:
}
else
{
relation
=
get_inversed_relation
(
relation
);
}
changedc
=
true
;
right
=
new_r_Const
(
irg
,
tv
);
possible
=
ir_get_possible_cmp_relations
(
left
,
right
);
changed
=
true
;
DBG_OPT_ALGSIM0
(
n
,
n
,
FS_OPT_CMP_OP_C
);
}
}
else
if
(
is_Not
(
left
)
&&
rel_eq
!=
ir_relation_false
)
{
...
...
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