[mlir][SCF] Fix incorrect API usage in RewritePatterns
authorMatthias Springer <me@m-sp.org>
Mon, 27 Feb 2023 08:35:37 +0000 (09:35 +0100)
committerMatthias Springer <me@m-sp.org>
Mon, 27 Feb 2023 08:36:14 +0000 (09:36 +0100)
commit61f37758048c14ed13b4545cbdf1f0d12496c237
treeaf713e13441ff3e2dac7d106d3d726cf43cb6eab
parente5921ef021efa7e696421069d294d66e58df2541
[mlir][SCF] Fix incorrect API usage in RewritePatterns

Incorrect API usage was detected by D144552.

Differential Revision: https://reviews.llvm.org/D144636
mlir/include/mlir/IR/PatternMatch.h
mlir/lib/Dialect/SCF/IR/SCF.cpp
mlir/lib/Dialect/SCF/Transforms/ForToWhile.cpp
mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
mlir/test/Dialect/SCF/canonicalize.mlir