Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
e9ab92dc
Commit
e9ab92dc
authored
Apr 17, 2016
by
Matthias Braun
Browse files
Fix computed_value for builtin_clz
parent
1eb7b3e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/iropt.c
View file @
e9ab92dc
...
...
@@ -833,7 +833,7 @@ static ir_tarval *computed_value_Proj_Builtin(ir_node const *const proj)
if
(
b
)
{
val
=
get_tarval_highest_bit
(
b
->
z
);
if
(
val
!=
-
1
&&
tarval_get_bit
(
b
->
o
,
val
))
{
val
=
get_mode_size_bits
(
get_irn_mode
(
p
roj
))
-
val
-
1
;
val
=
get_mode_size_bits
(
get_irn_mode
(
o
p
))
-
val
-
1
;
goto
make_val
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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