The documentation already has examples of this, and it allows for
using nicer C++ types when defining native Rewrites.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D133989  
[mlir:PDLL] Allow complex constraints on Rewrite arguments/results ClosedPublic Authored by rriddle on Sep 15 2022, 4:27 PM. 
Details Summary The documentation already has examples of this, and it allows for 
Diff Detail 
 Event Timelinerriddle added a child revision: D133990: [mlir] Use PDLL instead of TableGen DRR in the toy tutorial.Sep 15 2022, 4:27 PM This revision is now accepted and ready to land.Oct 6 2022, 7:25 PM This revision was landed with ongoing or failed builds.Nov 8 2022, 1:58 AM Closed by commit rGb6ec1de7cbc4: [mlir:PDLL] Allow complex constraints on Rewrite arguments/results (authored by rriddle).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 473927 mlir/include/mlir/Tools/PDLL/AST/Nodes.h
 mlir/include/mlir/Tools/PDLL/Parser/CodeComplete.h
 mlir/lib/Tools/PDLL/Parser/CodeComplete.cpp
 mlir/lib/Tools/PDLL/Parser/Parser.cpp
 mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
 mlir/test/mlir-pdll/CodeGen/CPP/general.pdll
 mlir/test/mlir-pdll/CodeGen/CPP/include/ods.td
 
 mlir/test/mlir-pdll/Parser/rewrite-failure.pdll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||