aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-15 17:39:39 +0000
committerDan Gohman <gohman@apple.com>2009-01-15 17:39:39 +0000
commit612f9d52905f1a3e3250c132fcc51447d93763b1 (patch)
tree92c16bcd8b579f96782400fd81edfb2282b0d6ec /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent0fe66c993ad428775cc1094b46d058a8d39a03be (diff)
downloadexternal_llvm-612f9d52905f1a3e3250c132fcc51447d93763b1.zip
external_llvm-612f9d52905f1a3e3250c132fcc51447d93763b1.tar.gz
external_llvm-612f9d52905f1a3e3250c132fcc51447d93763b1.tar.bz2
Make getWidenVectorType const; this file was missed in the
previous commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index bbd2222..41b43d9 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -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;