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
6ce434e9
Commit
6ce434e9
authored
Nov 09, 2011
by
Andreas Seltenreich
Browse files
iropt: Don't try to optimize Mux D.
parent
070134aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
6ce434e9
...
@@ -5916,6 +5916,8 @@ static ir_node *transform_Mux_set(ir_node *n)
...
@@ -5916,6 +5916,8 @@ static ir_node *transform_Mux_set(ir_node *n)
if
(
!
mode_is_int
(
mode
)
&&
!
mode_is_reference
(
mode
))
if
(
!
mode_is_int
(
mode
)
&&
!
mode_is_reference
(
mode
))
return
n
;
return
n
;
dest_mode
=
get_irn_mode
(
n
);
dest_mode
=
get_irn_mode
(
n
);
if
(
!
mode_is_int
(
dest_mode
)
&&
!
mode_is_reference
(
dest_mode
))
return
n
;
right
=
get_Cmp_right
(
cond
);
right
=
get_Cmp_right
(
cond
);
relation
=
get_Cmp_relation
(
cond
)
&
~
ir_relation_unordered
;
relation
=
get_Cmp_relation
(
cond
)
&
~
ir_relation_unordered
;
if
(
get_mode_size_bits
(
mode
)
>=
get_mode_size_bits
(
dest_mode
)
if
(
get_mode_size_bits
(
mode
)
>=
get_mode_size_bits
(
dest_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