Add canonicalization for BroadcastOp, ExtractStrideSlicesOp and ShapeCastOp
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
---|---|---|
1116 | is this always a valid transormation? can you add a few more comments reassuring the first time reader? | |
1895 | nit: rewrite an | |
1913 | lots of code here without clear documentation I think this would benefit from a description of the kind of input pattern you are testing for |
@ThomasRaoux, not on a directly related note, but this file VectorOps.cpp is taking nearly 12-15s to build on a fast workstation -- directly increasing build times / critical path towards mlir-opt and other targets for everyone. It'd be great to consider refactoring among next steps.
@bondhugula, that's interesting, thanks for pointing it out. I'll investigate after the holidays.
is this always a valid transormation? can you add a few more comments reassuring the first time reader?