Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.152 -> 1.153 --- Log message: now that libcalls don't suck, we can remove this hack --- Diffs of the changes: (+2 -6) SelectionDAGISel.cpp | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.152 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.153 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.152 Mon Feb 13 06:50:39 2006 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Mon Feb 13 23:39:35 2006 @@ -1098,9 +1098,7 @@ } else if (Name[0] == 's' && (Name == "sin" || Name == "sinf")) { if (I.getNumOperands() == 2 && // Basic sanity checks. I.getOperand(1)->getType()->isFloatingPoint() && - I.getType() == I.getOperand(1)->getType() && - TLI.isOperationLegal(ISD::FSIN, - TLI.getValueType(I.getOperand(1)->getType()))) { + I.getType() == I.getOperand(1)->getType()) { SDOperand Tmp = getValue(I.getOperand(1)); setValue(&I, DAG.getNode(ISD::FSIN, Tmp.getValueType(), Tmp)); return; @@ -1108,9 +1106,7 @@ } else if (Name[0] == 'c' && (Name == "cos" || Name == "cosf")) { if (I.getNumOperands() == 2 && // Basic sanity checks. I.getOperand(1)->getType()->isFloatingPoint() && - I.getType() == I.getOperand(1)->getType() && - TLI.isOperationLegal(ISD::FCOS, - TLI.getValueType(I.getOperand(1)->getType()))) { + I.getType() == I.getOperand(1)->getType()) { SDOperand Tmp = getValue(I.getOperand(1)); setValue(&I, DAG.getNode(ISD::FCOS, Tmp.getValueType(), Tmp)); return; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits