Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.284 -> 1.285 --- Log message: fix a bug --- Diffs of the changes: (+1 -2) LegalizeDAG.cpp | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.284 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.285 --- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.284 Sat Jan 28 01:39:30 2006 +++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Sat Jan 28 01:42:08 2006 @@ -2215,14 +2215,13 @@ Tmp1 = LegalizeOp(Node->getOperand(0)); // Legalize the chain. Tmp2 = LegalizeOp(Node->getOperand(1)); // Legalize the pointer. - MVT::ValueType VT; + MVT::ValueType VT = Node->getValueType(0); switch (TLI.getOperationAction(Node->getOpcode(), MVT::Other)) { default: assert(0 && "This action is not supported yet!"); case TargetLowering::Custom: isCustom = true; // FALLTHROUGH case TargetLowering::Legal: - VT = Node->getValueType(0); if (Tmp1 != Node->getOperand(0) || Tmp2 != Node->getOperand(1)) Result = DAG.getVAArg(VT, Tmp1, Tmp2, Node->getOperand(2)); else _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits