forked from OSchip/llvm-project
c7790df2ed
We can bind symbols to op arguments/results in source pattern and op results in result pattern. Previously resolving these symbols is scattered across RewriterGen.cpp. This CL aggregated them into a `PatternSymbolResolver` class. While we are here, this CL also cleans up tests for patterns to make them more focused. Specifically, one-op-one-result.td is superseded by pattern.td; pattern-tAttr.td is simplified; pattern-bound-symbol.td is added for the change in this CL. -- PiperOrigin-RevId: 241913973 |
||
---|---|---|
mlir |