This pattern can kick in when the source of the broadcast has a shape
that is a prefix/suffix of the result of the shape_cast.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D128734
[mlir][Vector] Add a ShapeCastOp(BroadcastOp) canonicalization pattern ClosedPublic Authored by nicolasvasilache on Jun 28 2022, 8:31 AM.
Details Summary This pattern can kick in when the source of the broadcast has a shape
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 28 2022, 8:55 AM Closed by commit rGa48bdee6866c: q[mlir][Vector] Add a ShapeCastOp(BroadcastOp) canonicalization pattern (authored by nicolasvasilache). · Explain WhyJun 28 2022, 9:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 440669 mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/test/Dialect/Vector/canonicalize.mlir
|