Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.213 -> 1.214 --- Log message: Remove some dead code. --- Diffs of the changes: (+0 -21) X86ISelLowering.cpp | 21 --------------------- 1 files changed, 21 deletions(-) Index: llvm/lib/Target/X86/X86ISelLowering.cpp diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.213 llvm/lib/Target/X86/X86ISelLowering.cpp:1.214 --- llvm/lib/Target/X86/X86ISelLowering.cpp:1.213 Thu May 25 13:56:34 2006 +++ llvm/lib/Target/X86/X86ISelLowering.cpp Thu May 25 17:25:52 2006 @@ -403,27 +403,6 @@ } } -/// 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(); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits