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
7ea1266e
Commit
7ea1266e
authored
Nov 03, 2016
by
Manuel Mohr
Browse files
Fix comparison.
Found by PVS Studio.
parent
0f57a8fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/iropt.c
View file @
7ea1266e
...
...
@@ -7321,7 +7321,7 @@ handle_tv:;
ir_mode
*
val_mode
=
get_irn_mode
(
val
);
if
(
offset
==
0
&&
get_mode_arithmetic
(
val_mode
)
==
get_mode_arithmetic
(
val_
mode
)
&&
get_mode_arithmetic
(
val_mode
)
==
get_mode_arithmetic
(
mode
)
&&
get_mode_size_bits
(
val_mode
)
==
get_mode_size_bits
(
mode
))
{
ir_node
*
start_block
=
get_irg_start_block
(
irg
);
ir_node
*
res
=
duplicate_subgraph
(
dbgi
,
val
,
start_block
);
...
...
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