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
0f068c12
Commit
0f068c12
authored
Dec 13, 2006
by
Matthias Braun
Browse files
fixes for latest be changes
parent
7cce4af0
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/be/beblocksched.c
View file @
0f068c12
...
...
@@ -216,7 +216,7 @@ static void coalesce_blocks(blocksched_env_t *env)
entry
=
get_irn_link
(
block
);
pred_entry
=
get_irn_link
(
pred_block
);
/*
TODO: what's this check for
? */
/*
is 1 of the blocks already attached to another block
? */
if
(
pred_entry
->
next
!=
NULL
||
entry
->
prev
!=
NULL
)
continue
;
...
...
ir/be/bechordal_main.c
View file @
0f068c12
...
...
@@ -752,23 +752,23 @@ static be_ra_timer_t *be_ra_chordal_main(be_irg_t *birg)
/* spilling */
switch
(
options
.
spill_method
)
{
case
BE_CH_SPILL_MORGAN
:
be_spill_morgan
(
&
chordal_
env
);
be_spill_morgan
(
&
pse
.
c
env
);
break
;
case
BE_CH_SPILL_BELADY
:
be_spill_belady
(
&
chordal_
env
);
be_spill_belady
(
&
pse
.
c
env
);
break
;
#ifdef WITH_ILP
case
BE_CH_SPILL_REMAT
:
be_spill_remat
(
&
chordal_
env
);
be_spill_remat
(
&
pse
.
c
env
);
break
;
#endif
/* WITH_ILP */
default:
fprintf
(
stderr
,
"no valid spiller selected. falling back to belady
\n
"
);
be_spill_belady
(
&
chordal_
env
);
be_spill_belady
(
&
pse
.
c
env
);
}
BE_TIMER_POP
(
ra_timer
.
t_spill
);
dump
(
BE_CH_DUMP_SPILL
,
irg
,
chordal_
env
.
cls
,
"-spill"
,
dump_ir_block_graph_sched
);
dump
(
BE_CH_DUMP_SPILL
,
irg
,
pse
.
c
env
.
cls
,
"-spill"
,
dump_ir_block_graph_sched
);
post_spill
(
&
pse
);
}
...
...
@@ -787,7 +787,7 @@ static be_ra_timer_t *be_ra_chordal_main(be_irg_t *birg)
}
BE_TIMER_PUSH
(
ra_timer
.
t_spill
);
arch_code_generator_spill
(
birg
->
cg
,
&
chordal_
env
);
arch_code_generator_spill
(
birg
->
cg
,
&
pse
[
j
].
c
env
);
BE_TIMER_POP
(
ra_timer
.
t_spill
);
dump
(
BE_CH_DUMP_SPILL
,
irg
,
NULL
,
"-spill"
,
dump_ir_block_graph_sched
);
...
...
ir/be/ia32/bearch_ia32.c
View file @
0f068c12
...
...
@@ -987,10 +987,9 @@ static void transform_to_Load(ia32_transform_env_t *env) {
entity
*
ent
=
be_get_frame_entity
(
irn
);
ir_mode
*
mode
=
env
->
mode
;
ir_node
*
noreg
=
ia32_new_NoReg_gp
(
env
->
cg
);
ir_node
*
nomem
=
new_rd_NoMem
(
env
->
irg
);
ir_node
*
sched_point
=
NULL
;
ir_node
*
ptr
=
get_ir
n_n
(
irn
,
0
);
ir_node
*
mem
=
be_is_Reload
(
irn
)
?
get_irn_n
(
irn
,
1
)
:
no
mem
;
ir_node
*
ptr
=
get_ir
g_frame
(
env
->
irg
);
ir_node
*
mem
=
get_irn_n
(
irn
,
be_pos_Reload_
mem
)
;
ir_node
*
new_op
,
*
proj
;
const
arch_register_t
*
reg
;
...
...
@@ -1043,8 +1042,8 @@ static void transform_to_Store(ia32_transform_env_t *env) {
ir_mode
*
mode
=
env
->
mode
;
ir_node
*
noreg
=
ia32_new_NoReg_gp
(
env
->
cg
);
ir_node
*
nomem
=
new_rd_NoMem
(
env
->
irg
);
ir_node
*
ptr
=
get_ir
n_n
(
irn
,
0
);
ir_node
*
val
=
get_irn_n
(
irn
,
1
);
ir_node
*
ptr
=
get_ir
g_frame
(
env
->
irg
);
ir_node
*
val
=
get_irn_n
(
irn
,
be_pos_Spill_val
);
ir_node
*
new_op
,
*
proj
;
ir_node
*
sched_point
=
NULL
;
...
...
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