@@ -1061,9 +1061,12 @@ mlir::scf::tileUsingSCF(RewriterBase &rewriter, TilingInterface op,
1061
1061
if (loops.empty ()) {
1062
1062
// If loops are empty, the tiled op is used as the replacement for the
1063
1063
// untiled op.
1064
- return scf::SCFTilingResult{tilingResult->tiledOps , initTensors, loops,
1064
+ return scf::SCFTilingResult{tilingResult->tiledOps ,
1065
+ initTensors,
1066
+ loops,
1065
1067
tilingResult->tiledValues ,
1066
- tilingResult->generatedSlices };
1068
+ tilingResult->generatedSlices ,
1069
+ {}};
1067
1070
}
1068
1071
1069
1072
auto loopResults = llvm::map_to_vector (loops.front ()->getResults (),
@@ -1072,8 +1075,9 @@ mlir::scf::tileUsingSCF(RewriterBase &rewriter, TilingInterface op,
1072
1075
// For the full reduction case, there is nothing more to do.
1073
1076
if (options.reductionStrategy ==
1074
1077
scf::SCFTilingOptions::ReductionTilingStrategy::FullReduction) {
1075
- return scf::SCFTilingResult{tilingResult->tiledOps , initTensors, loops,
1076
- loopResults, tilingResult->generatedSlices };
1078
+ return scf::SCFTilingResult{
1079
+ tilingResult->tiledOps , initTensors, loops, loopResults,
1080
+ tilingResult->generatedSlices , {}};
1077
1081
}
1078
1082
1079
1083
// The results of the loop needs to be merged.
0 commit comments