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
962c7424
Commit
962c7424
authored
Mar 26, 2014
by
yb9976
Browse files
Preserve debug information.
parent
21bb6e0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
962c7424
...
...
@@ -2531,7 +2531,9 @@ static ir_node *transform_node_Eor_(ir_node *n)
/* x ^ 1...1 -> ~x */
if
(
is_Const
(
b
)
&&
is_Const_all_one
(
b
))
{
n
=
new_r_Not
(
get_nodes_block
(
n
),
a
,
mode
);
dbg_info
*
dbgi
=
get_irn_dbg_info
(
n
);
ir_node
*
block
=
get_nodes_block
(
n
);
n
=
new_rd_Not
(
dbgi
,
block
,
a
,
mode
);
DBG_OPT_ALGSIM0
(
oldn
,
n
,
FS_OPT_EOR_TO_NOT
);
return
n
;
}
...
...
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