When simplifying a 0-dimensional affine map (i.e. when map.getNumResults() == 0), AffineMap::get needs to have access to a valid context.
Details
Details
Diff Detail
Diff Detail
Event Timeline
mlir/lib/IR/AffineMap.cpp | ||
---|---|---|
326 | This diff looks backwards |
mlir/lib/IR/AffineMap.cpp | ||
---|---|---|
325 | Is there an issue with the way this revision was created? The left/right panes are switched for me (the right one has the old version), and the context isn't available as well. |
Comment Actions
Could you add a test case please? It could be added to test/Dialect/Affine/simplify-affine-structures.mlir (the simplification is called on the map attribute of any op there).
Is there an issue with the way this revision was created? The left/right panes are switched for me (the right one has the old version), and the context isn't available as well.