Fix arm32 build: ensure that the expand group is always generated;

This commit is contained in:
Benjamin Bouvier
2020-04-29 14:44:31 +02:00
parent 864cf98c8d
commit a2b6c19861

View File

@@ -64,6 +64,10 @@ pub(crate) fn define(shared_defs: &mut SharedDefinitions) -> TargetIsa {
a32.legalize_default(narrow_flags);
t32.legalize_default(narrow_flags);
// Make sure that the expand code is used, thus generated.
let expand = shared_defs.transform_groups.by_name("expand");
a32.legalize_monomorphic(expand);
let cpu_modes = vec![a32, t32];
// TODO implement arm32 recipes.