[llvm-branch-commits] [llvm-branch] r223025 - Merged from r220561:
Daniel Sanders
daniel.sanders at imgtec.com
Mon Dec 1 06:26:43 PST 2014
Author: dsanders
Date: Mon Dec 1 08:26:43 2014
New Revision: 223025
URL: http://llvm.org/viewvc/llvm-project?rev=223025&view=rev
Log:
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
Modified:
llvm/branches/release_35/lib/Target/Mips/MipsCallingConv.td
Modified: llvm/branches/release_35/lib/Target/Mips/MipsCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_35/lib/Target/Mips/MipsCallingConv.td?rev=223025&r1=223024&r2=223025&view=diff
==============================================================================
--- llvm/branches/release_35/lib/Target/Mips/MipsCallingConv.td (original)
+++ llvm/branches/release_35/lib/Target/Mips/MipsCallingConv.td Mon Dec 1 08:26:43 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-branch-commits
mailing list