Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
639 | Can we add some tests in test/Dialect/Linalg/canonicalize.mlir for this pattern? | |
647 | No wrapping { } per LLVM coding style. | |
655 | We don't need to perform extension here as fill then extract shouldn't change the element type anyway. Also, it's not guaranteed that the element types would be floating point. |
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
637–638 | We need to register this pattern to getCanonicalizationPatterns. | |
637–638 | Could you capitalize each sentence and close with a .? Also for other comments. | |
mlir/test/Dialect/Linalg/canonicalize.mlir | ||
341 | Can we make this as an input to the function? | |
353 | We need to check that we are returning the scalar value. |
Requesting review after addressing revision comments
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
637–638 | It has been registered already. That change was in the previous diff, so it's included in the full expanded source here |
Ah, I think you only uploaded the last commit?? Can we squash all your local commits into one and reupload it so I can see the full patch? Just make sure the commit message contains "Differential Revision: https://reviews.llvm.org/D156008" when you upload
We need to register this pattern to getCanonicalizationPatterns.