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
ba2a3a44
Commit
ba2a3a44
authored
Sep 18, 2009
by
yb9976
Browse files
Fixed some wrong nodes.
[r26547]
parent
05cf0a70
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/becopypbqp.c
View file @
ba2a3a44
...
...
@@ -202,7 +202,7 @@ static int co_solve_heuristic_pbqp(copy_opt_t *co) {
continue
;
}
// pbqp_node *trg_node = ptr_pbqp_node->value;
if
(
get_edge
(
pbqp_co
.
pbqp
,
get_irn_idx
(
ifg
_node
),
get_irn_idx
(
i
f_neighb_node
))
==
NULL
)
{
if
(
get_edge
(
pbqp_co
.
pbqp
,
get_irn_idx
(
aff
_node
->
irn
),
get_irn_idx
(
af
f_neighb_node
->
irn
))
==
NULL
)
{
// create costs matrix
struct
pbqp_matrix
*
matrix
=
pbqp_matrix_alloc
(
pbqp_co
.
pbqp
,
number_registers
,
number_registers
);
...
...
@@ -220,7 +220,7 @@ static int co_solve_heuristic_pbqp(copy_opt_t *co) {
}
// add costs matrix to interference edge
add_edge_costs
(
pbqp_co
.
pbqp
,
get_irn_idx
(
ifg
_node
),
get_irn_idx
(
i
f_neighb_node
)
,
matrix
);
add_edge_costs
(
pbqp_co
.
pbqp
,
get_irn_idx
(
aff
_node
->
irn
),
get_irn_idx
(
af
f_neighb_node
->
irn
)
,
matrix
);
}
}
}
...
...
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