File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1542,8 +1542,7 @@ mlir::scf::tileConsumerAndFuseProducersUsingSCF(
15421542
15431543 if (failed (tilingResult))
15441544 return rewriter.notifyMatchFailure (consumer, " failed to tile consumer" );
1545- for (auto *tiledOp : tilingResult->tiledOps )
1546- tiledAndFusedOps.insert (tiledOp);
1545+ tiledAndFusedOps.insert_range (tilingResult->tiledOps );
15471546
15481547 DenseMap<Value, Value> replacements;
15491548 for (auto [origVal, replacement] : llvm::zip_equal (
Original file line number Diff line number Diff line change @@ -104,8 +104,7 @@ void CompilationDatabase::loadDatabase(StringRef filename) {
104104 }
105105
106106 // Track the includes for the file.
107- for (StringRef include : it.first ->second .includeDirs )
108- knownIncludes.insert (include);
107+ knownIncludes.insert_range (it.first ->second .includeDirs );
109108 }
110109
111110 // Add all of the known includes to the default file info. We don't know any
You can’t perform that action at this time.
0 commit comments