Skip to content

Commit e29f8c5

Browse files
mtsamisasl
authored andcommitted
Fix compilation error due to upstream MLIR changes
Signed-off-by: Manolis Tsamis <tsamismanolis@gmail.com>
1 parent c9eb6ce commit e29f8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Transforms/RemoveParserControlFlow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void RemoveParserControlFlowPass::runOnOperation() {
9393
mlir::FrozenRewritePatternSet frozenPatterns(std::move(patterns));
9494

9595
mlir::GreedyRewriteConfig grc;
96-
grc.useTopDownTraversal = true;
96+
grc.setUseTopDownTraversal(true);
9797

9898
auto walkResult = getOperation()->walk([&](P4HIR::ParserOp parserOp) -> mlir::WalkResult {
9999
// Interrupt on failure.

0 commit comments

Comments
 (0)