Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.238 -> 1.239 --- Log message: * Added support for X86 RET with an additional operand to specify number of bytes to pop off stack. * Added support for X86 SETCC. --- Diffs of the changes: (+10 -0) LegalizeDAG.cpp | 10 ++++++++++ 1 files changed, 10 insertions(+) Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.238 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.239 --- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.238 Wed Dec 21 13:40:42 2005 +++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Dec 21 14:21:51 2005 @@ -1621,6 +1621,16 @@ Node->getOperand(2)); break; } + case TargetLowering::Custom: { + SDOperand Tmp = + TLI.LowerOperation(DAG.getNode(ISD::SETCC, Node->getValueType(0), + Tmp1, Tmp2, Node->getOperand(2)), DAG); + if (Tmp.Val) { + Result = LegalizeOp(Tmp); + break; + } + // FALLTHROUGH if the target thinks it is legal. + } case TargetLowering::Legal: if (Tmp1 != Node->getOperand(0) || Tmp2 != Node->getOperand(1)) Result = DAG.getNode(ISD::SETCC, Node->getValueType(0), Tmp1, Tmp2, _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits