Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/Utils/Utils.cpp | ||
---|---|---|
152 | just looking at the style in this file, it seems to make sense to move this static method up, and keep this region for just the public API, but the end result is the same, so up to you.... |
mlir/lib/Dialect/Linalg/Utils/Utils.cpp | ||
---|---|---|
22 | This change pulls in a dependence for Linalg. Don't you need a CMake and Bazel file change for this? |
- Expose hasOnlyScalarElementwiseOp as a global function.
- Specify a dependency to FuncDialect in the CMake and Bazel files.
Thanks for the review. BTW, how can I test the changes on the cmake and bazel files? I usually run "ninja check-mlir" for testing.
I always find building with -DBUILD_SHARED_LIBS=ON the config a very good way of making sure no dependencies are missed.
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | ||
---|---|---|
38 | It is not intended. Recovered it. Thanks for catching it! |
It is a bit strange to refer to r now that you removed the parameter name from the prototype