aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-15 17:34:08 +0000
committerDan Gohman <gohman@apple.com>2009-01-15 17:34:08 +0000
commit0fe66c993ad428775cc1094b46d058a8d39a03be (patch)
tree0ae340106cf61aa77626ec5152d13bfa4d8e6f44 /include
parent7bb0d950ca442cefaea4f764f9339f695b9e0788 (diff)
downloadexternal_llvm-0fe66c993ad428775cc1094b46d058a8d39a03be.zip
external_llvm-0fe66c993ad428775cc1094b46d058a8d39a03be.tar.gz
external_llvm-0fe66c993ad428775cc1094b46d058a8d39a03be.tar.bz2
Make getWidenVectorType const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 4808cd4..3e8a93a 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -300,7 +300,7 @@ public:
/// If there is no vector type that we want to widen to, returns MVT::Other
/// When and were to widen is target dependent based on the cost of
/// scalarizing vs using the wider vector type.
- virtual MVT getWidenVectorType(MVT VT);
+ virtual MVT getWidenVectorType(MVT VT) const;
typedef std::vector<APFloat>::const_iterator legal_fpimm_iterator;
legal_fpimm_iterator legal_fpimm_begin() const {