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 7a87ba8 commit b5d56e5Copy full SHA for b5d56e5
mlir/lib/Dialect/MQTOpt/Transforms/MQTCoreRoundTrip.cpp
@@ -37,7 +37,11 @@ struct MQTCoreRoundTrip final : impl::MQTCoreRoundTripBase<MQTCoreRoundTrip> {
37
populateFromQuantumComputationPatterns(patterns, circuit);
38
39
// Apply patterns in an iterative and greedy manner.
40
- if (mlir::failed(applyPatternsGreedily(op, std::move(patterns)))) {
+ if (mlir::failed(
41
+ // This was deprecated in LLVM@20, but the alternative does not yet
42
+ // exist in LLVM@19.
43
+ // NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
44
+ mlir::applyPatternsAndFoldGreedily(op, std::move(patterns)))) {
45
signalPassFailure();
46
}
47
0 commit comments