We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1f5b9 commit b3a2208Copy full SHA for b3a2208
mlir/lib/Dialect/SCF/Transforms/ForallToFor.cpp
@@ -23,8 +23,6 @@ namespace mlir {
23
24
using namespace llvm;
25
using namespace mlir;
26
-using scf::ForallOp;
27
-using scf::ForOp;
28
using scf::LoopNest;
29
30
LogicalResult
mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
@@ -85,7 +85,7 @@ static bool haveNoReadsAfterWriteExceptSameIndex(
85
return WalkResult::advance();
86
87
// Check that at last one store was retrieved
88
- if (!write->second.size())
+ if (write->second.empty())
89
return WalkResult::interrupt();
90
91
auto storeIndices = write->second.front();
0 commit comments