diff options
| author | Lei Zhang <antiagainst@google.com> | 2019-04-04 05:44:58 -0700 |
|---|---|---|
| committer | Mehdi Amini <joker.eph@gmail.com> | 2019-04-05 07:40:41 -0700 |
| commit | c7790df2ed9bdcde12683aee6cb89a2668b56661 (patch) | |
| tree | 61133a877a95d2f40c8d780ed0d77d71c9356c1e /mlir/lib/Transforms/LoopTiling.cpp | |
| parent | 3c833344c858ae8af38fbd6f20ce9f07a685c15f (diff) | |
| download | bcm5719-llvm-c7790df2ed9bdcde12683aee6cb89a2668b56661.tar.gz bcm5719-llvm-c7790df2ed9bdcde12683aee6cb89a2668b56661.zip | |
[TableGen] Add PatternSymbolResolver for resolving symbols bound in patterns
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
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
0 files changed, 0 insertions, 0 deletions

