diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-28 18:26:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-28 18:26:52 +0000 |
commit | aee436bcc07c7ef6b4f2e51cc66d028fd952f019 (patch) | |
tree | ebf26d723ec1564acb9ff6d9fbae5eed3e9cf2f5 /lib | |
parent | f2db9b88dad3fe129b664471f9f79f4038956c4f (diff) | |
download | external_llvm-aee436bcc07c7ef6b4f2e51cc66d028fd952f019.zip external_llvm-aee436bcc07c7ef6b4f2e51cc66d028fd952f019.tar.gz external_llvm-aee436bcc07c7ef6b4f2e51cc66d028fd952f019.tar.bz2 |
These are autogenerated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/IA64/IA64ISelDAGToDAG.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lib/Target/IA64/IA64ISelDAGToDAG.cpp b/lib/Target/IA64/IA64ISelDAGToDAG.cpp index 791004c..54fd065 100644 --- a/lib/Target/IA64/IA64ISelDAGToDAG.cpp +++ b/lib/Target/IA64/IA64ISelDAGToDAG.cpp @@ -313,39 +313,6 @@ SDOperand IA64DAGToDAGISel::Select(SDOperand Op) { CurDAG->getTargetFrameIndex(FI, MVT::i64)); } - case ISD::TokenFactor: { - SDOperand New; - if (N->getNumOperands() == 2) { - SDOperand Op0 = Select(N->getOperand(0)); - SDOperand Op1 = Select(N->getOperand(1)); - New = CurDAG->getNode(ISD::TokenFactor, MVT::Other, Op0, Op1); - } else { - std::vector<SDOperand> Ops; - for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) - Ops.push_back(Select(N->getOperand(i))); - New = CurDAG->getNode(ISD::TokenFactor, MVT::Other, Ops); - } - - CodeGenMap[Op] = New; - return New; - } - case ISD::CopyFromReg: { - SDOperand Chain = Select(N->getOperand(0)); - if (Chain == N->getOperand(0)) return Op; // No change - SDOperand New = CurDAG->getCopyFromReg(Chain, - cast<RegisterSDNode>(N->getOperand(1))->getReg(), N->getValueType(0)); - return New.getValue(Op.ResNo); - } - case ISD::CopyToReg: { - SDOperand Chain = Select(N->getOperand(0)); - SDOperand Reg = N->getOperand(1); - SDOperand Val = Select(N->getOperand(2)); - SDOperand New = CurDAG->getNode(ISD::CopyToReg, MVT::Other, - Chain, Reg, Val); - CodeGenMap[Op] = New; - return New; - } - case ISD::GlobalAddress: { GlobalValue *GV = cast<GlobalAddressSDNode>(N)->getGlobal(); SDOperand GA = CurDAG->getTargetGlobalAddress(GV, MVT::i64); |