forked from OSchip/llvm-project
[mips] Remove redundant code in RetCC_MipsN. NFC.
Summary: i32 is always promoted to i64 so it no longer makes sense to assign i32 to registers. Reviewers: vmedic Reviewed By: vmedic Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5964 llvm-svn: 220561
This commit is contained in:
parent
967c079082
commit
8d69aedbd5
|
@ -141,9 +141,6 @@ def RetCC_MipsN : CallingConv<[
|
|||
CCIfSubtargetNot<"isLittle()",
|
||||
CCIfType<[i8, i16, i32, i64], CCIfInReg<CCPromoteToUpperBitsInType<i64>>>>,
|
||||
|
||||
// i32 are returned in registers V0, V1
|
||||
CCIfType<[i32], CCAssignToReg<[V0, V1]>>,
|
||||
|
||||
// i64 are returned in registers V0_64, V1_64
|
||||
CCIfType<[i64], CCAssignToReg<[V0_64, V1_64]>>,
|
||||
|
||||
|
|
Loading…
Reference in New Issue