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
8ac6aa9d
Commit
8ac6aa9d
authored
May 26, 2011
by
Matthias Braun
Browse files
fix ShlD/ShrD not getting generated in some cases
parent
1953ce88
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
8ac6aa9d
...
...
@@ -1431,7 +1431,7 @@ static bool is_complementary_shifts(ir_node *value1, ir_node *value2)
if
(
tarval_is_long
(
tv1
)
&&
tarval_is_long
(
tv2
))
{
long
v1
=
get_tarval_long
(
tv1
);
long
v2
=
get_tarval_long
(
tv2
);
return
v1
<
v2
&&
v2
==
32
-
v1
;
return
v1
<
=
v2
&&
v2
==
32
-
v1
;
}
}
return
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