Commit 2eb2ab8c authored by Matthias Braun's avatar Matthias Braun
Browse files

lower_builtin: At least show builtin name on unsupported builtins

parent dde80c0c
......@@ -204,7 +204,8 @@ changed:
case ir_bk_compare_swap:
case ir_bk_va_start:
/* can't do anything about these, backend will probably fail now */
panic("cannot lower Builtin node of kind %+F", node);
panic("builtin kind %s not supported (for this target)",
get_builtin_kind_name(kind));
}
panic("unexpected builtin %+F", node);
}
......
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