Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
---|---|---|
1214 | I've seen such checks so many places. Might worth having a method directly on the extract_strided_slice op itself. Not requesting change in this patch though. Can do a clean up later. | |
1229 | Nit: c++ int64_t destinationRank = 0; if (auto vecType = extractOp.getType().dyn_cast<VectorType>()) destinationRank = vecType.getRank(); ? | |
mlir/test/Dialect/Vector/canonicalize.mlir | ||
1178 | Hmm, shouldn't this be insert.. %a, %0 and then vector.extract %1? Right now %1 is dead code. |
mlir/test/Dialect/Vector/canonicalize.mlir | ||
---|---|---|
1178 | Yes, good catch, thanks! |
I've seen such checks so many places. Might worth having a method directly on the extract_strided_slice op itself. Not requesting change in this patch though. Can do a clean up later.