mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[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/trunk@220561 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
de90aa00ac
commit
4d2ff459e9
@ -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