mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 03:36:43 +00:00
Make getWidenVectorType const.
llvm-svn: 62265
This commit is contained in:
parent
340e5fe0a6
commit
37d7b5be33
@ -300,7 +300,7 @@ public:
|
|||||||
/// If there is no vector type that we want to widen to, returns MVT::Other
|
/// 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
|
/// When and were to widen is target dependent based on the cost of
|
||||||
/// scalarizing vs using the wider vector type.
|
/// 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;
|
typedef std::vector<APFloat>::const_iterator legal_fpimm_iterator;
|
||||||
legal_fpimm_iterator legal_fpimm_begin() const {
|
legal_fpimm_iterator legal_fpimm_begin() const {
|
||||||
|
@ -8036,7 +8036,7 @@ X86TargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint,
|
|||||||
/// When and where to widen is target dependent based on the cost of
|
/// When and where to widen is target dependent based on the cost of
|
||||||
/// scalarizing vs using the wider vector type.
|
/// scalarizing vs using the wider vector type.
|
||||||
|
|
||||||
MVT X86TargetLowering::getWidenVectorType(MVT VT) {
|
MVT X86TargetLowering::getWidenVectorType(MVT VT) const {
|
||||||
assert(VT.isVector());
|
assert(VT.isVector());
|
||||||
if (isTypeLegal(VT))
|
if (isTypeLegal(VT))
|
||||||
return VT;
|
return VT;
|
||||||
|
@ -499,7 +499,7 @@ namespace llvm {
|
|||||||
/// If there is no vector type that we want to widen to, returns MVT::Other
|
/// 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
|
/// When and were to widen is target dependent based on the cost of
|
||||||
/// scalarizing vs using the wider vector type.
|
/// scalarizing vs using the wider vector type.
|
||||||
virtual MVT getWidenVectorType(MVT VT);
|
virtual MVT getWidenVectorType(MVT VT) const;
|
||||||
|
|
||||||
/// createFastISel - This method returns a target specific FastISel object,
|
/// createFastISel - This method returns a target specific FastISel object,
|
||||||
/// or null if the target does not support "fast" ISel.
|
/// or null if the target does not support "fast" ISel.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user