Skip to content

Commit

Permalink
latest changes cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Garra1980 committed May 9, 2024
1 parent c2e7cf6 commit acbdb1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Transforms/VectorLinearize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ struct VectorInsertOpConversion final
return rewriter.notifyMatchFailure(insertOp,
"dynamic position is not supported.");
auto srcTy = insertOp.getSourceType();
auto src = insertOp.getSource();
auto srcAsVec = mlir::dyn_cast<mlir::VectorType>(srcTy);
uint64_t srcSize = 0;
if (srcAsVec) {
Expand All @@ -245,7 +244,6 @@ struct VectorInsertOpConversion final
"scalars are not supported.");
}

auto dst = insertOp.getDest();
auto dstShape = insertOp.getDestVectorType().getShape();
const auto dstSize = insertOp.getDestVectorType().getNumElements();
auto dstSizeForOffsets = dstSize;
Expand Down

0 comments on commit acbdb1b

Please sign in to comment.