diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-12 23:24:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-12 23:24:06 +0000 |
commit | 16cd04d26c53c6f81313cafb85f6c0e7a07cdff6 (patch) | |
tree | 6ee92b0e6e5c8c53605bf545d813b78f1f8f0c71 /lib/Target/Alpha/AlphaISelPattern.cpp | |
parent | b794107416227c14ed7040eb2503757d04ec7ddd (diff) |
rename the ADJCALLSTACKDOWN/ADJCALLSTACKUP nodes to be CALLSEQ_START/BEGIN.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelPattern.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index b5f93b0548..9a9e587c75 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -311,7 +311,7 @@ AlphaTargetLowering::LowerCallTo(SDOperand Chain, if (Args.size() > 6) NumBytes = (Args.size() - 6) * 8; - Chain = DAG.getNode(ISD::ADJCALLSTACKDOWN, MVT::Other, Chain, + Chain = DAG.getNode(ISD::CALLSEQ_START, MVT::Other, Chain, DAG.getConstant(NumBytes, getPointerTy())); std::vector<SDOperand> args_to_use; for (unsigned i = 0, e = Args.size(); i != e; ++i) @@ -346,7 +346,7 @@ AlphaTargetLowering::LowerCallTo(SDOperand Chain, SDOperand TheCall = SDOperand(DAG.getCall(RetVals, Chain, Callee, args_to_use), 0); Chain = TheCall.getValue(RetTyVT != MVT::isVoid); - Chain = DAG.getNode(ISD::ADJCALLSTACKUP, MVT::Other, Chain, + Chain = DAG.getNode(ISD::CALLSEQ_END, MVT::Other, Chain, DAG.getConstant(NumBytes, getPointerTy())); return std::make_pair(TheCall, Chain); } @@ -2247,12 +2247,12 @@ void ISel::Select(SDOperand N) { SelectExpr(N); return; - case ISD::ADJCALLSTACKDOWN: - case ISD::ADJCALLSTACKUP: + case ISD::CALLSEQ_START: + case ISD::CALLSEQ_END: Select(N.getOperand(0)); Tmp1 = cast<ConstantSDNode>(N.getOperand(1))->getValue(); - Opc = N.getOpcode() == ISD::ADJCALLSTACKDOWN ? Alpha::ADJUSTSTACKDOWN : + Opc = N.getOpcode() == ISD::CALLSEQ_START ? Alpha::ADJUSTSTACKDOWN : Alpha::ADJUSTSTACKUP; BuildMI(BB, Opc, 1).addImm(Tmp1); return; |