[llvm-commits] CVS: llvm/lib/Target/TargetCallingConv.td

Anton Korobeynikov asl at math.spbu.ru
Tue Mar 6 00:13:03 PST 2007



Changes in directory llvm/lib/Target:

TargetCallingConv.td updated: 1.3 -> 1.4
---
Log message:

Use new SDIselParamAttr enumeration. This removes "magick" constants 
from formal attributes' flags processing.


---
Diffs of the changes:  (+1 -1)

 TargetCallingConv.td |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/TargetCallingConv.td
diff -u llvm/lib/Target/TargetCallingConv.td:1.3 llvm/lib/Target/TargetCallingConv.td:1.4
--- llvm/lib/Target/TargetCallingConv.td:1.3	Tue Feb 27 23:29:33 2007
+++ llvm/lib/Target/TargetCallingConv.td	Tue Mar  6 02:12:33 2007
@@ -38,7 +38,7 @@
 
 /// CCIfInReg - If this argument is marked with the 'inreg' attribute, apply
 /// the specified action.
-class CCIfInReg<CCAction A> : CCIf<"ArgFlags & 2", A> {}
+class CCIfInReg<CCAction A> : CCIf<"ArgFlags & SDISelParamFlags::InReg", A> {}
 
 
 /// CCAssignToReg - This action matches if there is a register in the specified






More information about the llvm-commits mailing list