[llvm-commits] [llvm] r75417 - /llvm/trunk/include/llvm/Target/TargetCallingConv.td

Jakob Stoklund Olesen stoklund at 2pi.dk
Sun Jul 12 06:15:54 PDT 2009


Author: stoklund
Date: Sun Jul 12 08:15:50 2009
New Revision: 75417

URL: http://llvm.org/viewvc/llvm-project?rev=75417&view=rev
Log:
Add CCIfSRet calling convention predicate.

The blackfin calling convention uses a different register for sret arguments.

Modified:
    llvm/trunk/include/llvm/Target/TargetCallingConv.td

Modified: llvm/trunk/include/llvm/Target/TargetCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetCallingConv.td?rev=75417&r1=75416&r2=75417&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetCallingConv.td (original)
+++ llvm/trunk/include/llvm/Target/TargetCallingConv.td Sun Jul 12 08:15:50 2009
@@ -58,6 +58,10 @@
 /// the specified action.
 class CCIfSplit<CCAction A> : CCIf<"ArgFlags.isSplit()", A> {}
 
+/// CCIfSRet - If this argument is marked with the 'sret' attribute, apply
+/// the specified action.
+class CCIfSRet<CCAction A> : CCIf<"ArgFlags.isSRet()", A> {}
+
 /// CCIfNotVarArg - If the current function is not vararg - apply the action
 class CCIfNotVarArg<CCAction A> : CCIf<"!State.isVarArg()", A> {}
 





More information about the llvm-commits mailing list