forked from OSchip/llvm-project
Implementation for TargetTransformInfo::hasActiveVectorLength()
This patch adds the missing implementation for TargetTransformInfo::hasActiveVectorLength() without which using hasActiveVectorLength() causes linker error. Patch by Vineet Kumar! Differential Revision: https://reviews.llvm.org/D100941
This commit is contained in:
parent
fe15556077
commit
84d16e2055
|
@ -1038,6 +1038,10 @@ bool TargetTransformInfo::supportsScalableVectors() const {
|
|||
return TTIImpl->supportsScalableVectors();
|
||||
}
|
||||
|
||||
bool TargetTransformInfo::hasActiveVectorLength() const {
|
||||
return TTIImpl->hasActiveVectorLength();
|
||||
}
|
||||
|
||||
InstructionCost
|
||||
TargetTransformInfo::getInstructionLatency(const Instruction *I) const {
|
||||
return TTIImpl->getInstructionLatency(I);
|
||||
|
|
Loading…
Reference in New Issue