Changes in directory llvm/lib/Target/ARM:

ARMISelDAGToDAG.cpp updated: 1.73 -> 1.74
---
Log message:

implement CallingConv::Fast as CallingConv::C


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

 ARMISelDAGToDAG.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.73 
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.74
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.73        Tue Oct 17 16:05:33 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp     Wed Oct 18 07:03:07 2006
@@ -294,7 +294,9 @@
 static SDOperand LowerCALL(SDOperand Op, SelectionDAG &DAG) {
   SDOperand Chain    = Op.getOperand(0);
   unsigned CallConv  = cast<ConstantSDNode>(Op.getOperand(1))->getValue();
-  assert(CallConv == CallingConv::C && "unknown calling convention");
+  assert((CallConv == CallingConv::C ||
+          CallConv == CallingConv::Fast)
+         && "unknown calling convention");
   bool isVarArg      = cast<ConstantSDNode>(Op.getOperand(2))->getValue() != 0;
   bool isTailCall    = cast<ConstantSDNode>(Op.getOperand(3))->getValue() != 0;
   SDOperand Callee   = Op.getOperand(4);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to