Skip to content

Commit 4e91a2e

Browse files
author
git apple-llvm automerger
committed
Merge commit 'afe43e071309' from llvm.org/main into next
2 parents 4e6267b + afe43e0 commit 4e91a2e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,6 @@ struct VectorizationResult {
111111
Operation *newOp;
112112
};
113113

114-
/// Return a vector type of the same shape and element type as the (assumed)
115-
/// ShapedType of `v`.
116-
static VectorType extractVectorTypeFromShapedValue(Value v) {
117-
auto st = v.getType().cast<ShapedType>();
118-
return VectorType::get(st.getShape(), st.getElementType());
119-
}
120-
121114
static llvm::Optional<vector::CombiningKind>
122115
getKindForOp(Operation *reductionOp) {
123116
if (!reductionOp)

0 commit comments

Comments
 (0)