Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thanks, Nicolas! It looks good. Only some tests are missing.
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp | ||
---|---|---|
791 | Are these formatting changes accidental? Please make sure they follow the LLVM style. | |
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
1327 | Can parse the plural (scalars, vectors) here properly, but maybe it's just me :) | |
1369 | Could we please add some tests for these errors to invalid.mlir? I think it's important to get them covered. |
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp | ||
---|---|---|
159–161 | what case is it supposed to handle besides the case where vecType.getShape() == shape? |
Address review.
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp | ||
---|---|---|
159–161 | You're right that broadcasting to the same shape is a noop that should just fold. | |
791 | yeah for some reason cider doe this for me .. sigh. | |
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
1327 | I think that is correct :) updated to your suggestion | |
1369 | The first 2 are already there. |
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp | ||
---|---|---|
791 | actually no, this is what clang-format does for me automatically; I always try to format things. |
what case is it supposed to handle besides the case where vecType.getShape() == shape?