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
5e24c17a
Commit
5e24c17a
authored
Sep 06, 2010
by
Matthias Braun
Browse files
remove useless code from iropt
[r27967]
parent
1b63e194
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
5e24c17a
...
...
@@ -4653,14 +4653,6 @@ static ir_node *transform_node_Proj_Cmp(ir_node *proj)
}
}
}
/* == or != */
/* the following reassociations work only for <= */
else
if
(
proj_nr
==
pn_Cmp_Le
||
proj_nr
==
pn_Cmp_Lt
)
{
if
(
tv
!=
tarval_bad
)
{
/* c >= 0 : Abs(a) <= c ==> (unsigned)(a + c) <= 2*c */
if
(
is_Abs
(
left
))
{
// TODO something is missing here
}
}
}
}
/* mode_is_int */
if
(
proj_nr
==
pn_Cmp_Eq
||
proj_nr
==
pn_Cmp_Lg
)
{
...
...
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