Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions mlir/lib/Dialect/Affine/Utils/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1327,9 +1327,6 @@ LogicalResult mlir::affine::replaceAllMemRefUsesWith(
assert(cast<MemRefType>(oldMemRef.getType()).getElementType() ==
cast<MemRefType>(newMemRef.getType()).getElementType());

std::unique_ptr<DominanceInfo> domInfo;
std::unique_ptr<PostDominanceInfo> postDomInfo;

// Walk all uses of old memref; collect ops to perform replacement. We use a
// DenseSet since an operation could potentially have multiple uses of a
// memref (although rare), and the replacement later is going to erase ops.
Expand Down
2 changes: 0 additions & 2 deletions mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ struct LinalgOpTilingInterface
SmallVectorImpl<OpFoldResult> &iterDomainSizes) const {
auto linalgOp = cast<LinalgOp>(op);

std::optional<SmallVector<OpFoldResult>> iterationSpaceOffsets,
iterationSpaceSizes;
SmallVector<AffineMap> indexingMaps =
llvm::map_to_vector(operandNumbers, [&](unsigned operandNumber) {
OpOperand &opOperand = linalgOp->getOpOperand(operandNumber);
Expand Down
1 change: 0 additions & 1 deletion mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ Operation *ACCImplicitData::generateDataClauseOpForCandidate(
/*structured=*/true, /*implicit=*/true,
accSupport.getVariableName(var));
} else {
SmallVector<Value> bounds;
auto copyinOp =
acc::CopyinOp::create(builder, loc, var,
/*structured=*/true, /*implicit=*/true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ mlir::scf::parallelForToNestedFors(RewriterBase &rewriter,
lowerBounds.size() == steps.size() &&
"Mismatched parallel loop bounds");

SmallVector<Value> ivs;
scf::LoopNest loopNest =
scf::buildLoopNest(rewriter, loc, lowerBounds, upperBounds, steps);

Expand Down