[mlir][vector] Cast away leading one dims for insert ops
authorLei Zhang <antiagainst@google.com>
Thu, 14 Apr 2022 12:56:47 +0000 (08:56 -0400)
committerLei Zhang <antiagainst@google.com>
Thu, 14 Apr 2022 12:57:32 +0000 (08:57 -0400)
commite54236dfb5982bc8358bad62a27e6048f06a0272
treeab2e019f78c456ca2f38159ab7d8ebb7934c463c
parentbc408afbfebef71460a7f8b4313021956633ef21
[mlir][vector] Cast away leading one dims for insert ops

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D123621
mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir