The AffineMap in the MemRef inferred by SubViewOp may have uncompressed symbols which result in type mismatch on otherwise unused symbols. Make the computation of the AffineMap compress those unused symbols which results in better canonical types.
Additionally, improve the error message to report which inferred type was expected.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/IR/AffineMap.cpp | ||
---|---|---|
549 | Should be const llvm::SmallDenseSet<unsigned> &unusedDims |
Should be const llvm::SmallDenseSet<unsigned> &unusedDims