Assign vector arguments to FPR registers

This commit is contained in:
Andrew Brown
2019-07-11 10:26:08 -07:00
committed by Dan Gohman
parent 659725b465
commit c39a9b4e3f
2 changed files with 62 additions and 10 deletions

View File

@@ -106,7 +106,13 @@ impl TargetIsa for Isa {
}
fn legalize_signature(&self, sig: &mut ir::Signature, current: bool) {
abi::legalize_signature(sig, &self.triple, current)
abi::legalize_signature(
sig,
&self.triple,
current,
&self.shared_flags,
&self.isa_flags,
)
}
fn regclass_for_abi_type(&self, ty: ir::Type) -> RegClass {