From 6b2e03272c0f65da27ae547028ab6cf157d395c4 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 25 Aug 2007 16:28:56 +0000 Subject: [PATCH] In smaller_mode() state that mode_b can be converted to every integer mode without loss. [r15605] --- ir/ir/irmode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ir/ir/irmode.c b/ir/ir/irmode.c index 2e8bfd684..8ac2be9d4 100644 --- a/ir/ir/irmode.c +++ b/ir/ir/irmode.c @@ -620,6 +620,9 @@ smaller_mode(const ir_mode *sm, const ir_mode *lm) { /* do exist machines out there with different pointer lenghts ?*/ return 0; + case irms_internal_boolean: + return mode_is_int(lm); + default: break; } -- 2.20.1