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
92dc34b4
Commit
92dc34b4
authored
Aug 24, 2006
by
Adam Szalkowski
Browse files
spill slots are handled by matze
parent
776c8fce
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bespillremat.c
View file @
92dc34b4
...
...
@@ -4160,33 +4160,6 @@ verify_phiclasses(spill_ilp_t * si)
irg_block_walk_graph
(
si
->
chordal_env
->
irg
,
luke_meminterferencechecker
,
NULL
,
si
);
}
static
void
walker_spillslotassigner
(
ir_node
*
irn
,
void
*
data
)
{
void
*
cls
;
if
(
!
be_is_Spill
(
irn
))
return
;
/* set spill context to phi class if it has one ;) */
(
void
)
cls
;
#if 0
// Matze: not needed anymore
cls = get_phi_class(irn);
if(cls)
be_set_Spill_context(irn, cls);
else
be_set_Spill_context(irn, irn);
#endif
}
static
void
assign_spillslots
(
spill_ilp_t
*
si
)
{
DBG
((
si
->
dbg
,
LEVEL_2
,
"
\t
calling spill slot assigner
\n
"
));
irg_walk_graph
(
si
->
chordal_env
->
irg
,
walker_spillslotassigner
,
NULL
,
si
);
}
void
be_spill_remat
(
const
be_chordal_env_t
*
chordal_env
)
{
...
...
@@ -4344,7 +4317,6 @@ be_spill_remat(const be_chordal_env_t * chordal_env)
if
(
opt_memcopies
)
{
verify_phiclasses
(
&
si
);
assign_spillslots
(
&
si
);
}
irg_block_walk_graph
(
chordal_env
->
irg
,
walker_pressure_annotator
,
NULL
,
&
si
);
...
...
Write
Preview
Supports
Markdown
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