[TargetTransformInfo] Add override keywords to supporess -Winconsistent-missing-override.

llvm-svn: 293158
This commit is contained in:
Craig Topper 2017-01-26 08:04:27 +00:00
parent bad53cce26
commit 05078de912
1 changed files with 3 additions and 2 deletions

View File

@ -942,11 +942,12 @@ public:
bool shouldBuildLookupTablesForConstant(Constant *C) override {
return Impl.shouldBuildLookupTablesForConstant(C);
}
unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) {
unsigned getScalarizationOverhead(Type *Ty, bool Insert,
bool Extract) override {
return Impl.getScalarizationOverhead(Ty, Insert, Extract);
}
unsigned getOperandsScalarizationOverhead(ArrayRef<const Value *> Args,
unsigned VF) {
unsigned VF) override {
return Impl.getOperandsScalarizationOverhead(Args, VF);
}