This patch adds support to shape cast a vector<1x1x1...1xElemenType> to
a vector<ElementType> and the other way around.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nice, thank you! LGTM
mlir/lib/Dialect/Vector/IR/VectorOps.cpp | ||
---|---|---|
4620 | [nit] The comment above applies to if (rankA == 0 && llvm::all_of(b, isOne)) return true; rather than the lambda (i.e. isOne). Could you move it before merging? Ta! |
[nit] The comment above applies to
rather than the lambda (i.e. isOne). Could you move it before merging? Ta!