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
3903325f
Commit
3903325f
authored
Apr 19, 2007
by
Andreas Schösser
Browse files
Transformation from ProjIs to ProjIu now also works for general Proj nodes.
[r13404]
parent
4f703c39
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
3903325f
...
...
@@ -3651,6 +3651,13 @@ static ir_node *gen_Proj(ia32_transform_env_t *env, ir_node *node) {
if
(
node
==
env
->
old_anchors
[
anchor_tls
])
{
return
gen_Proj_tls
(
env
,
node
);
}
}
else
{
ir_node
*
new_pred
=
transform_node
(
env
,
pred
);
ir_node
*
block
=
transform_node
(
env
,
get_nodes_block
(
node
));
ir_mode
*
mode
=
get_irn_mode
(
node
);
if
(
mode_is_signed
(
mode
)
||
mode_is_reference
(
mode
))
{
return
new_r_Proj
(
irg
,
block
,
new_pred
,
mode_Iu
,
get_Proj_proj
(
node
));
}
}
return
duplicate_node
(
env
,
node
);
...
...
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