forked from OSchip/llvm-project
parent
01d042a123
commit
b3e7bb0498
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue