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
0d931fa9
Commit
0d931fa9
authored
Jun 07, 2013
by
yb9976
Committed by
Matthias Braun
Oct 30, 2013
Browse files
Connect to end block.
parent
7fd93105
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/execfreq.c
View file @
0d931fa9
...
...
@@ -341,9 +341,7 @@ void ir_estimate_execfreq(ir_graph *irg)
double
sum
=
get_sum_succ_factors
(
keep
,
inv_loop_weight
);
double
fac
=
KEEP_FAC
/
sum
;
int
keep_idx
=
size
-
dfs_get_post_num
(
dfs
,
keep
)
-
1
;
//ir_printf("SEdge %+F -> %+F, fak: %f\n", keep, end_block, fac);
//gs_matrix_set(mat, idx, keep_idx, fac);
gs_matrix_set
(
mat
,
start_idx
,
keep_idx
,
fac
);
gs_matrix_set
(
mat
,
idx
,
keep_idx
,
fac
);
}
}
}
...
...
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