diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-05-25 22:25:52 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-25 22:25:52 +0000 |
commit | a9bb445db09db8762bf22d74b8d8b9cddc145ae7 (patch) | |
tree | 186a0f2f67095e28af780b07a1f41630a91c9950 | |
parent | 932ad51feabc4119dda978c4f147dfe1b010a95d (diff) |
Remove some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28481 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 83bf7f0a4f..c15ace49b7 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -403,27 +403,6 @@ HowToPassCCCArgument(MVT::ValueType ObjectVT, unsigned NumXMMRegs, } } -/// getFormalArgObjects - Returns itself if Op is a FORMAL_ARGUMENTS, otherwise -/// returns the FORMAL_ARGUMENTS node(s) that made up parts of the node. -static std::vector<SDOperand> getFormalArgObjects(SDOperand Op) { - unsigned Opc = Op.getOpcode(); - std::vector<SDOperand> Objs; - if (Opc == ISD::TRUNCATE) { - Op = Op.getOperand(0); - assert(Op.getOpcode() == ISD::AssertSext || - Op.getOpcode() == ISD::AssertZext); - Objs.push_back(Op.getOperand(0)); - } else if (Opc == ISD::FP_ROUND || Opc == ISD::VBIT_CONVERT) { - Objs.push_back(Op.getOperand(0)); - } else if (Opc == ISD::BUILD_PAIR) { - Objs.push_back(Op.getOperand(0)); - Objs.push_back(Op.getOperand(1)); - } else { - Objs.push_back(Op); - } - return Objs; -} - SDOperand X86TargetLowering::LowerCCCArguments(SDOperand Op, SelectionDAG &DAG) { unsigned NumArgs = Op.Val->getNumValues() - 1; MachineFunction &MF = DAG.getMachineFunction(); |