Encapsulate all worklist-related functionality in a separate Worklist class. This makes the remaining code more readable and allows for custom worklist implementations (e.g., a randomized worklist for fuzzing pattern application: D142447).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp | ||
---|---|---|
58–62 | Seems like this could be a trivial llvm::any_of. |
Seems like this could be a trivial llvm::any_of.