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(
1542
1542
1543
1543
if (failed (tilingResult))
1544
1544
return rewriter.notifyMatchFailure (consumer, " failed to tile consumer" );
1545
- for (auto *tiledOp : tilingResult->tiledOps )
1546
- tiledAndFusedOps.insert (tiledOp);
1545
+ tiledAndFusedOps.insert_range (tilingResult->tiledOps );
1547
1546
1548
1547
DenseMap<Value, Value> replacements;
1549
1548
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) {
104
104
}
105
105
106
106
// 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 );
109
108
}
110
109
111
110
// 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