Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.367 -> 1.368 --- Log message: Fix handling of calls in functions that use vectors. This fixes a crash on the code in GCC PR26546: http://llvm.cs.uiuc.edu/PR26546 . --- Diffs of the changes: (+1 -13) LegalizeDAG.cpp | 14 +------------- 1 files changed, 1 insertion(+), 13 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.367 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.368 --- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.367 Mon Apr 17 14:21:01 2006 +++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Mon Apr 17 17:10:08 2006 @@ -433,19 +433,7 @@ if (OperandsLeadToDest) return true; // Okay, this node looks safe, legalize it and return false. - switch (getTypeAction(N->getValueType(0))) { - case Legal: - LegalizeOp(SDOperand(N, 0)); - break; - case Promote: - PromoteOp(SDOperand(N, 0)); - break; - case Expand: { - SDOperand X, Y; - ExpandOp(SDOperand(N, 0), X, Y); - break; - } - } + HandleOp(SDOperand(N, 0)); return false; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits