forked from OSchip/llvm-project
Add A0 and A1 to the list of registers used for returning a value in order to
handle functions with return type Complex long long. llvm-svn: 133497
This commit is contained in:
parent
5b350be79d
commit
27029885f0
|
@ -20,8 +20,8 @@ class CCIfSubtarget<string F, CCAction A>:
|
|||
// Only the return rules are defined here for O32. The rules for argument
|
||||
// passing are defined in MipsISelLowering.cpp.
|
||||
def RetCC_MipsO32 : CallingConv<[
|
||||
// i32 are returned in registers V0, V1
|
||||
CCIfType<[i32], CCAssignToReg<[V0, V1]>>,
|
||||
// i32 are returned in registers V0, V1, A0, A1
|
||||
CCIfType<[i32], CCAssignToReg<[V0, V1, A0, A1]>>,
|
||||
|
||||
// f32 are returned in registers F0, F2
|
||||
CCIfType<[f32], CCAssignToReg<[F0, F2]>>,
|
||||
|
|
Loading…
Reference in New Issue