Commit 6b2e0327 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

In smaller_mode() state that mode_b can be converted to every integer mode without loss.

[r15605]
parent 35f4f0e3
...@@ -620,6 +620,9 @@ smaller_mode(const ir_mode *sm, const ir_mode *lm) { ...@@ -620,6 +620,9 @@ smaller_mode(const ir_mode *sm, const ir_mode *lm) {
/* do exist machines out there with different pointer lenghts ?*/ /* do exist machines out there with different pointer lenghts ?*/
return 0; return 0;
case irms_internal_boolean:
return mode_is_int(lm);
default: default:
break; break;
} }
......
Supports Markdown
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