[mlir] Use context provided rather than getContextAvoids "pass state was never initialized" assertion failure.
[mlir:PDLL] Fix the import of native constraints from ODSWe weren't properly returning the result of the constraint,which leads to errors when actually trying to use the generatedC++.Differenti
[mlir:PDLL] Fix the import of native constraints from ODSWe weren't properly returning the result of the constraint,which leads to errors when actually trying to use the generatedC++.Differential Revision: https://reviews.llvm.org/D124586
show more ...
[mlir][PDLL] Add support for generating PDL patterns from PDLL at build timeThis essentially sets up mlir-pdll to function in a similar manner to mlir-tblgen. Asidefrom the boilerplate of configur
[mlir][PDLL] Add support for generating PDL patterns from PDLL at build timeThis essentially sets up mlir-pdll to function in a similar manner to mlir-tblgen. Asidefrom the boilerplate of configuring CMake and setting up a basic initial test, two newoptions are added to mlir-pdll to mirror options provided by tblgen:* -d This option generates a dependency file (i.e. a set of build time dependencies) while processing the input file.* --write-if-changed This option only writes to the output file if the data would have changed, which for the build system prevents unnecesarry rebuilds if the file was touched but not actually changed.Differential Revision: https://reviews.llvm.org/D124075