summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-26 00:43:46 +0000
committerChris Lattner <sabre@nondot.org>2005-08-26 00:43:46 +0000
commitc6d481db7af447721ad235f54c8bbdd517aa68f3 (patch)
tree07a929c7cb6d21df5b030f2202d5e612706dac55
parent89093ca62afcaae0eafdf313a1328ed927616821 (diff)
downloadbcm5719-llvm-c6d481db7af447721ad235f54c8bbdd517aa68f3.tar.gz
bcm5719-llvm-c6d481db7af447721ad235f54c8bbdd517aa68f3.zip
the 5th operand is the 4th number
llvm-svn: 23074
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 612e3e14aa7..d94e8026dd2 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1122,7 +1122,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
TLI.LowerOperation(DAG.getNode(ISD::SELECT_CC, Node->getValueType(0),
Node->getOperand(0),
Node->getOperand(1), Tmp3, Tmp4,
- Node->getOperand(5)), DAG);
+ Node->getOperand(4)), DAG);
if (Tmp.Val) {
Result = LegalizeOp(Tmp);
break;
OpenPOWER on IntegriCloud