[llvm] r220561 - [mips] Remove redundant code in RetCC_MipsN. NFC.
Daniel Sanders
daniel.sanders at imgtec.com
Fri Oct 24 06:49:55 PDT 2014
Author: dsanders
Date: Fri Oct 24 08:49:54 2014
New Revision: 220561
URL: http://llvm.org/viewvc/llvm-project?rev=220561&view=rev
Log:
[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
Modified:
llvm/trunk/lib/Target/Mips/MipsCallingConv.td
Modified: llvm/trunk/lib/Target/Mips/MipsCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsCallingConv.td?rev=220561&r1=220560&r2=220561&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsCallingConv.td (original)
+++ llvm/trunk/lib/Target/Mips/MipsCallingConv.td Fri Oct 24 08:49:54 2014
@@ -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]>>,
More information about the llvm-commits
mailing list