This diff makes it easier to create a linalg.reshape op
and adds an EDSC builder api test to exercise the new builders.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Unit tests: pass. 61744 tests passed, 0 failed and 780 were skipped.
clang-tidy: fail. Please fix clang-tidy findings.
clang-format: pass.
Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
The part that drops symbols needs documentation, including on the ::build to say that symbols will be dropped, and tests. I'm not confident that creating an AffineMap with 0 symbols from a list of expressions that might use symbols is correct.
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
469 | Could this just return pos? |
Unit tests: unknown.
clang-tidy: unknown.
clang-format: pass.
Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt
mlir/test/EDSC/builder-api-test.cpp | ||
---|---|---|
986 | Can we have an AffineExpr with symbols here? Just to check that symbol removal machinery works. |
mlir/test/EDSC/builder-api-test.cpp | ||
---|---|---|
986 | I made it into an assertion, there is no removal but just an assertion that it is symbolless. |
Unit tests: pass. 61783 tests passed, 0 failed and 781 were skipped.
clang-tidy: unknown.
clang-format: pass.
Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
Could this just return pos?