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
a324a065
Commit
a324a065
authored
Sep 13, 2007
by
Michael Beck
Browse files
added check for Bad in Mul optimization
[r15774]
parent
9106e8c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
a324a065
...
...
@@ -2295,6 +2295,9 @@ static ir_node *transform_node_Mul(ir_node *n) {
ir_node
*
a
=
get_Mul_left
(
n
);
ir_node
*
b
=
get_Mul_right
(
n
);
if
(
is_Bad
(
a
)
||
is_Bad
(
b
))
return
n
;
if
(
mode
!=
get_irn_mode
(
a
))
return
transform_node_Mul2n
(
n
,
mode
);
...
...
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