Make getWidenVectorType const; this file was missed in the
authorDan Gohman <gohman@apple.com>
Thu, 15 Jan 2009 17:39:39 +0000 (17:39 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 15 Jan 2009 17:39:39 +0000 (17:39 +0000)
previous commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62266 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/TargetLowering.cpp

index bbd222285e4cf1fe2a1550cddb07e799d4c6b6ad..41b43d91671bfd4fed5d9ca2a8605af1b645b59e 100644 (file)
@@ -669,7 +669,7 @@ unsigned TargetLowering::getVectorTypeBreakdown(MVT VT,
 /// 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 {
   assert(VT.isVector());
   if (isTypeLegal(VT))
     return VT;