From b4b823941cb12bc50a07c9e6f0c648a72cfa9683 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 7 Nov 2014 11:43:49 +0000 Subject: [mips] Remove MipsCC::analyzeCallOperands in favour of CCState::AnalyzeCallOperands. NFC Summary: In addition to the usual f128 workaround, it was also necessary to provide a means of accessing ArgListEntry::IsFixed. Reviewers: theraven, vmedic Reviewed By: vmedic Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6111 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221518 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsCallingConv.td | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/Target/Mips/MipsCallingConv.td') diff --git a/lib/Target/Mips/MipsCallingConv.td b/lib/Target/Mips/MipsCallingConv.td index cfa1a4ccf86..4d64da2b3e1 100644 --- a/lib/Target/Mips/MipsCallingConv.td +++ b/lib/Target/Mips/MipsCallingConv.td @@ -343,6 +343,13 @@ def CC_Mips_VarArg : CallingConv<[ CCDelegateTo ]>; +def CC_Mips : CallingConv<[ + CCIfVarArg< + CCIf<"!static_cast(&State)->IsCallOperandFixed(ValNo)", + CCDelegateTo>>, + CCDelegateTo +]>; + //===----------------------------------------------------------------------===// // Callee-saved register lists. //===----------------------------------------------------------------------===// -- cgit v1.2.3