[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Chris Lattner sabre at nondot.org
Sat Mar 24 10:37:20 PDT 2007



Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.484 -> 1.485
---
Log message:

don't rely on ADL


---
Diffs of the changes:  (+1 -1)

 LegalizeDAG.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.484 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.485
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.484	Wed Mar  7 10:25:08 2007
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp	Sat Mar 24 12:37:03 2007
@@ -484,7 +484,7 @@
       unsigned NumElements =
         cast<ConstantSDNode>(N->getOperand(NumOps-2))->getValue();
       MVT::ValueType EVT = cast<VTSDNode>(N->getOperand(NumOps-1))->getVT();
-      MVT::ValueType PackedVT = getVectorType(EVT, NumElements);
+      MVT::ValueType PackedVT = MVT::getVectorType(EVT, NumElements);
       if (PackedVT != MVT::Other && TLI.isTypeLegal(PackedVT)) {
         // In the common case, this is a legal vector type, convert it to the
         // packed operation and type now.






More information about the llvm-commits mailing list