Commit edb11cbd authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Treat conversions between the same size as downconv to get rid of unnecessary conversions.

[r22477]
parent 2008b06d
......@@ -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) &&
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment