Commit 593b8fbe authored by Matthias Braun's avatar Matthias Braun
Browse files

increase modulo_shift if find_double_bits_int_mode

parent fd677c30
......@@ -587,6 +587,8 @@ ir_mode *find_double_bits_int_mode(const ir_mode *mode)
&& mode->arithmetic == irma_twos_complement);
n.size = 2*mode->size;
if (n.modulo_shift != 0 && n.modulo_shift < n.size)
n.modulo_shift = n.size;
return find_mode(&n);
}
......
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