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
8fa62f7a
Commit
8fa62f7a
authored
May 03, 2011
by
Michael Beck
Browse files
Amend combo fix.
One more condition is needed to ensure monotony.
parent
66a85ef5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/combo.c
View file @
8fa62f7a
...
...
@@ -2262,7 +2262,9 @@ static void compute_Cmp(node_t *node)
this breaks AND we get from the argument partitions a different
result, ensure monotony by fall to bottom.
This happens because initially all nodes are in the same partition ... */
if
(
node
->
type
.
tv
!=
tv
&&
is_constant_type
(
node
->
type
))
if
(
node
->
type
.
tv
==
tarval_bottom
)
tv
=
tarval_bottom
;
else
if
(
node
->
type
.
tv
!=
tv
&&
is_constant_type
(
node
->
type
))
tv
=
tarval_bottom
;
node
->
type
.
tv
=
tv
;
}
else
{
...
...
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