Put vector types in regs for arm & mips FFI.
This seems to match what clang does on arm, but I cannot do any experimentation with mips, but it matches how the LLVM intrinsics are defined in any case...
This commit is contained in:
parent
7d4f358de7
commit
9e83ae931c
@ -139,7 +139,8 @@ fn is_reg_ty(ty: Type) -> bool {
|
||||
Integer
|
||||
| Pointer
|
||||
| Float
|
||||
| Double => true,
|
||||
| Double
|
||||
| Vector => true,
|
||||
_ => false
|
||||
}
|
||||
}
|
||||
|
@ -169,7 +169,8 @@ fn is_reg_ty(ty: Type) -> bool {
|
||||
Integer
|
||||
| Pointer
|
||||
| Float
|
||||
| Double => true,
|
||||
| Double
|
||||
| Vector => true,
|
||||
_ => false
|
||||
}
|
||||
}
|
||||
|
@ -123,7 +123,8 @@ fn is_reg_ty(ty: Type) -> bool {
|
||||
Integer
|
||||
| Pointer
|
||||
| Float
|
||||
| Double => true,
|
||||
| Double
|
||||
| Vector => true,
|
||||
_ => false
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user