[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Dec 21 21:23:58 PST 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.240 -> 1.241
---
Log message:
The 81st column doesn't like code in it.
---
Diffs of the changes: (+4 -3)
LegalizeDAG.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.240 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.241
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.240 Wed Dec 21 14:51:36 2005
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Dec 21 23:23:45 2005
@@ -1454,7 +1454,7 @@
Tmp2 = LegalizeOp(Node->getOperand(1)); // RHS
if (Tmp1 != Node->getOperand(0) || Tmp2 != Node->getOperand(1) ||
Tmp3 != Node->getOperand(2) || Tmp4 != Node->getOperand(3)) {
- Result = DAG.getNode(ISD::SELECT_CC, Node->getValueType(0), Tmp1, Tmp2,
+ Result = DAG.getNode(ISD::SELECT_CC, Node->getValueType(0), Tmp1,Tmp2,
Tmp3, Tmp4, Node->getOperand(4));
}
break;
@@ -1590,7 +1590,8 @@
}
}
- switch(TLI.getOperationAction(ISD::SETCC, Node->getOperand(0).getValueType())) {
+ switch(TLI.getOperationAction(ISD::SETCC,
+ Node->getOperand(0).getValueType())) {
default:
assert(0 && "Cannot handle this action for SETCC yet!");
break;
@@ -1611,7 +1612,7 @@
"Fell off of the edge of the floating point world");
// If the target supports SETCC of this type, use it.
- if (TLI.getOperationAction(ISD::SETCC, NewInTy) == TargetLowering::Legal)
+ if (TLI.isOperationLegal(ISD::SETCC, NewInTy))
break;
}
if (MVT::isInteger(NewInTy))
More information about the llvm-commits
mailing list