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
1ff6fc90
Commit
1ff6fc90
authored
Nov 03, 2015
by
Christoph Mallon
Browse files
Correct copy&paste-o in localopt.
When distributing Conv over a Sub, build a new Sub, not an Add.
parent
7b5502bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/iropt.c
View file @
1ff6fc90
...
...
@@ -3524,9 +3524,9 @@ static ir_node *transform_node_Sub(ir_node *n)
=
get_reference_offset_mode
(
ref_mode
);
ir_node
*
const
conv_b
=
new_r_Conv
(
block
,
b
,
offset_mode
);
ir_node
*
const
new_
add
=
new_rd_
Add
(
dbgi
,
block
,
conv_op
,
ir_node
*
const
new_
sub
=
new_rd_
Sub
(
dbgi
,
block
,
conv_op
,
conv_b
,
ref_mode
);
ir_node
*
const
conv
=
new_r_Conv
(
block
,
new_
add
,
mode
);
ir_node
*
const
conv
=
new_r_Conv
(
block
,
new_
sub
,
mode
);
return
conv
;
}
}
...
...
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