Add missing overrides.

PiperOrigin-RevId: 256995548
This commit is contained in:
Jacques Pienaar 2019-07-08 09:35:19 -07:00 committed by jpienaar
parent 01d042a123
commit b3e7bb0498
2 changed files with 6 additions and 6 deletions

View File

@ -1228,7 +1228,7 @@ public:
}
void printAffineMapOfSSAIds(AffineMapAttr mapAttr,
ArrayRef<Value *> operands) {
ArrayRef<Value *> operands) override {
AffineMap map = mapAttr.getValue();
unsigned numDims = map.getNumDims();
auto printValueName = [&](unsigned pos, bool isSymbol) {

View File

@ -1244,9 +1244,8 @@ private:
return "'integer'";
case ElementKind::Float:
return "'float'";
default:
llvm_unreachable("unknown element kind");
}
llvm_unreachable("unknown element kind");
}
/// Build a Dense Integer attribute for the given type.
@ -3438,9 +3437,10 @@ public:
}
/// Parse an AffineMap of SSA ids.
ParseResult parseAffineMapOfSSAIds(SmallVectorImpl<OperandType> &operands,
Attribute &mapAttr, StringRef attrName,
SmallVectorImpl<NamedAttribute> &attrs) {
ParseResult
parseAffineMapOfSSAIds(SmallVectorImpl<OperandType> &operands,
Attribute &mapAttr, StringRef attrName,
SmallVectorImpl<NamedAttribute> &attrs) override {
SmallVector<OperandType, 2> dimOperands;
SmallVector<OperandType, 1> symOperands;