diff --git a/lib/Dialect/Dist/Transforms/DistCoalesce.cpp b/lib/Dialect/Dist/Transforms/DistCoalesce.cpp index 025ca0b67..51b35a744 100644 --- a/lib/Dialect/Dist/Transforms/DistCoalesce.cpp +++ b/lib/Dialect/Dist/Transforms/DistCoalesce.cpp @@ -564,7 +564,6 @@ struct DistCoalescePass loc, nProcs, pRank, _sizes); tOffs = defPart.getLOffsets(); tSizes = defPart.getLShape(); - bbIPnt = defPart; auto nop = updateTargetPart(builder, e, tOffs, tSizes); assert(!nop); } diff --git a/lib/Dialect/NDArray/IR/SubviewOp.cpp b/lib/Dialect/NDArray/IR/SubviewOp.cpp index 5a951f2da..b73a70cfd 100644 --- a/lib/Dialect/NDArray/IR/SubviewOp.cpp +++ b/lib/Dialect/NDArray/IR/SubviewOp.cpp @@ -433,8 +433,6 @@ findImmutableInsertSliceSource(::imex::ndarray::ImmutableInsertSliceOp iisOp, laterOffs.emplace_back(iisOffs); laterSizes.emplace_back(iisSizes); }; - - return {}; } } // namespace diff --git a/lib/Dialect/XeTile/Transforms/BlockingAnalysis.h b/lib/Dialect/XeTile/Transforms/BlockingAnalysis.h index 96f2249e2..48bd95523 100644 --- a/lib/Dialect/XeTile/Transforms/BlockingAnalysis.h +++ b/lib/Dialect/XeTile/Transforms/BlockingAnalysis.h @@ -49,6 +49,7 @@ class BlockingAnalysis { public: explicit BlockingAnalysis(std::shared_ptr uArch) { this->uArch = uArch; + this->target = nullptr; }; mlir::LogicalResult run(mlir::Operation *op); diff --git a/lib/Dialect/XeTile/Transforms/WgToSg.cpp b/lib/Dialect/XeTile/Transforms/WgToSg.cpp index c25a287a3..417252c32 100644 --- a/lib/Dialect/XeTile/Transforms/WgToSg.cpp +++ b/lib/Dialect/XeTile/Transforms/WgToSg.cpp @@ -519,7 +519,7 @@ class WGToSGArithConstantOpPattern value.value_end()); llvm::SmallVector newValues; - for (int64_t i = 0; i < sgData[0] * sgData[1]; i++) { + for (int64_t i = 0; i < static_cast(sgData[0]) * sgData[1]; i++) { newValues.push_back(elems[i]); }