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
3f807bf4
Commit
3f807bf4
authored
Sep 09, 2008
by
Christoph Mallon
Browse files
Make warning about registers assigned to Phi inputs more clear.
[r21763]
parent
9b7f5d6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beverify.c
View file @
3f807bf4
...
...
@@ -763,8 +763,8 @@ static void check_register_constraints(ir_node *node)
const
arch_register_t
*
pred_reg
=
arch_get_irn_register
(
arch_env
,
pred
);
if
(
reg
!=
pred_reg
)
{
ir_fprintf
(
stderr
,
"Verify warning:
Register %s as input %d of %+F not allowed (register constraint) in block %+F(%s)
\n
"
,
reg
->
name
,
i
,
node
,
get_nodes_block
(
node
),
get_irg_dump_name
(
irg
));
ir_fprintf
(
stderr
,
"Verify warning:
Input %d of %+F in block %+F(%s) uses register %s instead of %s
\n
"
,
i
,
node
,
get_nodes_block
(
node
),
get_irg_dump_name
(
irg
)
,
pred_reg
->
name
,
reg
->
name
);
problem_found
=
1
;
}
}
...
...
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