[llvm-commits] [llvm] r62266 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp

Dan Gohman gohman at apple.com
Thu Jan 15 09:39:39 PST 2009

Author: djg
Date: Thu Jan 15 11:39:39 2009
New Revision: 62266

URL: http://llvm.org/viewvc/llvm-project?rev=62266&view=rev
Make getWidenVectorType const; this file was missed in the
previous commit.


Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=62266&r1=62265&r2=62266&view=diff

--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Thu Jan 15 11:39:39 2009
@@ -669,7 +669,7 @@
 /// If there is no vector type that we want to widen to, returns MVT::Other
 /// When and where to widen is target dependent based on the cost of
 /// scalarizing vs using the wider vector type.
-MVT TargetLowering::getWidenVectorType(MVT VT) {
+MVT TargetLowering::getWidenVectorType(MVT VT) const {
   if (isTypeLegal(VT))
     return VT;

More information about the llvm-commits mailing list