mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Merged from r220561:
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@223025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b831bf65ac
commit
e2c44a48fc
@ -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
Block a user