summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-22 05:23:45 +0000
committerChris Lattner <sabre@nondot.org>2005-12-22 05:23:45 +0000
commit1408c05a8b395cdad9073443ccd6e7aedf4d9393 (patch)
tree2561c1a2aafbe37ff95fa6df22e03539127e9900 /llvm/lib
parent5ccf76fed3c9d06d17e18d9d304c3c1a0c310652 (diff)
downloadbcm5719-llvm-1408c05a8b395cdad9073443ccd6e7aedf4d9393.tar.gz
bcm5719-llvm-1408c05a8b395cdad9073443ccd6e7aedf4d9393.zip
The 81st column doesn't like code in it.
llvm-svn: 24943
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 6d6aab6946c..be6b04dfe8a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1454,7 +1454,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
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 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
}
}
- 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 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
"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))
OpenPOWER on IntegriCloud