Skip to content

Commit

Permalink
try top-down
Browse files Browse the repository at this point in the history
  • Loading branch information
gitoleg committed Oct 23, 2024
1 parent eab0441 commit 6df6a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/CIR/Dialect/Transforms/CallConvLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void CallConvLoweringPass::runOnOperation() {
// Configure rewrite to ignore new ops created during the pass.
GreedyRewriteConfig config;
config.strictMode = GreedyRewriteStrictness::ExistingOps;

config.useTopDownTraversal = true;
// Apply patterns.
if (failed(applyOpPatternsAndFold(ops, std::move(patterns), config)))
signalPassFailure();
Expand Down

0 comments on commit 6df6a82

Please sign in to comment.