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
637eca85
Commit
637eca85
authored
Oct 10, 2016
by
Christoph Mallon
Browse files
ia32: Use the debug info of the Conv, not its operand, in gen_x87_conv().
parent
37f398f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
637eca85
...
...
@@ -3675,11 +3675,10 @@ static ir_node *gen_x87_fp_to_gp(ir_node *node)
/**
* Creates a x87 Conv by placing a Store and a Load
*/
static
ir_node
*
gen_x87_conv
(
x86_insn_size_t
const
size
,
ir_node
*
const
node
)
static
ir_node
*
gen_x87_conv
(
dbg_info
*
const
dbgi
,
x86_insn_size_t
const
size
,
ir_node
*
const
node
)
{
ir_node
*
block
=
get_nodes_block
(
node
);
ir_graph
*
irg
=
get_irn_irg
(
block
);
dbg_info
*
dbgi
=
get_irn_dbg_info
(
node
);
ir_node
*
frame
=
get_irg_frame
(
irg
);
ir_node
*
store
=
create_fst
(
dbgi
,
block
,
frame
,
noreg_GP
,
nomem
,
node
,
...
...
@@ -3886,7 +3885,7 @@ static ir_node *gen_Conv(ir_node *node)
DB
((
dbg
,
LEVEL_1
,
"killed Conv(float, float) ..."
));
return
new_op
;
}
else
{
return
gen_x87_conv
(
size
,
new_op
);
return
gen_x87_conv
(
dbgi
,
size
,
new_op
);
}
}
}
else
{
...
...
@@ -3915,7 +3914,7 @@ static ir_node *gen_Conv(ir_node *node)
/* we need a float-conv, if the int mode has more bits than the
* float mantissa */
if
(
float_mantissa
<
int_mantissa
)
res
=
gen_x87_conv
(
tgt_size
,
res
);
res
=
gen_x87_conv
(
dbgi
,
tgt_size
,
res
);
return
res
;
}
}
else
{
...
...
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