Do not limit the number of arguments in rewriter pattern.
Introduce separate FmtStrVecObject class to handle
format of variadic std::string array.
Paths
| Differential D97839
[mlir][ODS] Get rid of limitations in rewriters generator ClosedPublic Authored by vinograd47 on Mar 3 2021, 1:09 AM.
Details Summary Do not limit the number of arguments in rewriter pattern. Introduce separate FmtStrVecObject class to handle
Diff Detail
Event TimelineComment Actions Do we have test for this tool already? If so can you update the test to show the effect of the change? This revision is now accepted and ready to land.Mar 17 2021, 12:56 PM Closed by commit rG02834e1bd946: [mlir][ODS] Get rid of limitations in rewriters generator (authored by vinograd47). · Explain WhyMar 18 2021, 2:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 331491 mlir/include/mlir/TableGen/Format.h
mlir/lib/TableGen/Format.cpp
mlir/test/mlir-tblgen/rewriter-indexing.td
mlir/tools/mlir-tblgen/RewriterGen.cpp
|
I think this todo is still pending