Changes in directory llvm/include/llvm/CodeGen:
SelectionDAG.h updated: 1.97 -> 1.98 --- Log message: Add a method --- Diffs of the changes: (+12 -0) SelectionDAG.h | 12 ++++++++++++ 1 files changed, 12 insertions(+) Index: llvm/include/llvm/CodeGen/SelectionDAG.h diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.97 llvm/include/llvm/CodeGen/SelectionDAG.h:1.98 --- llvm/include/llvm/CodeGen/SelectionDAG.h:1.97 Thu Feb 9 16:11:03 2006 +++ llvm/include/llvm/CodeGen/SelectionDAG.h Mon Feb 13 02:54:46 2006 @@ -196,6 +196,18 @@ /// getZeroExtendInReg - Return the expression required to zero extend the Op /// value assuming it was the smaller SrcTy value. SDOperand getZeroExtendInReg(SDOperand Op, MVT::ValueType SrcTy); + + /// getCALLSEQ_START - Return a new CALLSEQ_START node, which always must have + /// a flag result (to ensure it's not CSE'd). + SDOperand getCALLSEQ_START(SDOperand Chain, SDOperand Op) { + std::vector<MVT::ValueType> ResultTys; + ResultTys.push_back(MVT::Other); + ResultTys.push_back(MVT::Flag); + std::vector<SDOperand> Ops; + Ops.push_back(Chain); + Ops.push_back(Op); + return getNode(ISD::CALLSEQ_START, ResultTys, Ops); + } /// getNode - Gets or creates the specified node. /// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits