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
693d8f30
Commit
693d8f30
authored
Aug 07, 2006
by
Matthias Braun
Browse files
- Schedule memperm node
- Fix spillslot coalescing timer not being displayed
parent
5e2581b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/be/bechordal_main.c
View file @
693d8f30
...
...
@@ -379,7 +379,7 @@ static be_ra_timer_t *be_ra_chordal_main(const be_irg_t *bi)
ra_timer
.
t_epilog
=
lc_timer_register
(
"ra_epilog"
,
"regalloc epilog"
);
ra_timer
.
t_live
=
lc_timer_register
(
"ra_liveness"
,
"be liveness"
);
ra_timer
.
t_spill
=
lc_timer_register
(
"ra_spill"
,
"spiller"
);
ra_timer
.
t_spillslots
=
lc_timer_register
(
"ra_spill"
,
"spillslots"
);
ra_timer
.
t_spillslots
=
lc_timer_register
(
"ra_spill
slots
"
,
"spillslots"
);
ra_timer
.
t_color
=
lc_timer_register
(
"ra_color"
,
"graph coloring"
);
ra_timer
.
t_ifg
=
lc_timer_register
(
"ra_ifg"
,
"interference graph"
);
ra_timer
.
t_copymin
=
lc_timer_register
(
"ra_copymin"
,
"copy minimization"
);
...
...
ir/be/bemain.c
View file @
693d8f30
...
...
@@ -582,6 +582,7 @@ static void be_main_loop(FILE *file_handle)
LC_EMIT_RA
(
ra_timer
->
t_prolog
);
LC_EMIT_RA
(
ra_timer
->
t_live
);
LC_EMIT_RA
(
ra_timer
->
t_spill
);
LC_EMIT_RA
(
ra_timer
->
t_spillslots
);
LC_EMIT_RA
(
ra_timer
->
t_color
);
LC_EMIT_RA
(
ra_timer
->
t_ifg
);
LC_EMIT_RA
(
ra_timer
->
t_copymin
);
...
...
ir/be/bespillslots.c
View file @
693d8f30
...
...
@@ -21,6 +21,7 @@
#include "irdump_t.h"
#include "benode_t.h"
#include "besched.h"
#include "bespillslots.h"
#include "bechordal_t.h"
#include "bejavacoal.h"
...
...
@@ -660,7 +661,9 @@ static void create_memperms(ss_env_t *env) {
proj
=
new_Proj
(
mempermnode
,
get_irn_mode
(
arg
),
i
);
set_irn_n
(
entry
->
node
,
entry
->
pos
,
proj
);
}
ir_printf
(
"Memperm created in block %+F
\n
"
,
memperm
->
block
);
// insert node into schedule
sched_add_before
(
sched_last
(
memperm
->
block
),
mempermnode
);
}
}
...
...
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