Commit 581e5849 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warning, add a panic when irio imports vector modes

[r25886]
parent 17afeffb
......@@ -1481,6 +1481,9 @@ static int parse_modes(io_env_t *env)
ir_mode_arithmetic arith = read_mode_arithmetic(env);
unsigned modulo_shift = read_long(env);
int vector_elems = read_long(env);
if (vector_elems != 1) {
panic("no support for import of vector modes yes");
}
ir_mode *mode = new_ir_mode(name, sort, size, sign, arith, modulo_shift);
......
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