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
24512e42
Commit
24512e42
authored
Aug 16, 2015
by
Matthias Braun
Browse files
add TODO to bespillutil
parent
7c907708
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bespillutil.c
View file @
24512e42
...
...
@@ -804,6 +804,11 @@ static void prepare_constr_insn(ir_node *const node)
if
(
!
common_limits
)
continue
;
/* TODO: This is suboptimal, we should rather have the node use the old
* value and all following users use the copy (because that gives us a
* register change for free), need to add some SSA-reconstruction code
* to achieve this. */
ir_node
*
block
=
get_nodes_block
(
node
);
ir_node
*
copy
=
be_new_Copy
(
block
,
in
);
sched_add_before
(
node
,
copy
);
...
...
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