projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2008b06
)
Treat conversions between the same size as downconv to get rid of unnecessary convers...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 4 Oct 2008 16:57:08 +0000
(16:57 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 4 Oct 2008 16:57:08 +0000
(16:57 +0000)
[r22477]
ir/opt/convopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/convopt.c
b/ir/opt/convopt.c
index
5ecf85e
..
354c2d5
100644
(file)
--- a/
ir/opt/convopt.c
+++ b/
ir/opt/convopt.c
@@
-87,7
+87,7
@@
int is_downconv(ir_mode *src_mode, ir_mode *dest_mode)
return
mode_is_int(src_mode) &&
mode_is_int(dest_mode) &&
return
mode_is_int(src_mode) &&
mode_is_int(dest_mode) &&
- get_mode_size_bits(dest_mode) < get_mode_size_bits(src_mode);
+ get_mode_size_bits(dest_mode) <
=
get_mode_size_bits(src_mode);
}
static
}
static