llvm-project/mlir/test/Pass
River Riddle 0289a2692e [mlir] Add support for filtering patterns based on debug names and labels
This revision allows for attaching "debug labels" to patterns, and provides to FrozenRewritePatternSet for  filtering patterns based on these labels (in addition to the debug name of the pattern). This will greatly simplify the ability to write tests targeted towards specific patterns (in cases where many patterns may interact),  will also simplify debugging pattern application by observing how application changes when enabling/disabling specific patterns.

To enable better reuse of pattern rewrite options between passes, this revision also adds a new PassUtil.td file to the Rewrite/ library that will allow for passes to easily hook into a common interface for pattern debugging. Two options are used to seed this utility, `disable-patterns` and `enable-patterns`, which are used to enable the filtering behavior indicated above.

Differential Revision: https://reviews.llvm.org/D102441
2021-06-02 12:05:25 -07:00
..
crash-recovery.mlir [mlir] Refactor the implementation of pass crash reproducers 2021-05-19 16:59:53 -07:00
dynamic-pipeline-fail-on-parent.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
dynamic-pipeline-nested.mlir [mlir][Inliner] Refactor the inliner to use nested pass pipelines instead of just canonicalization 2020-12-14 18:09:47 -08:00
dynamic-pipeline.mlir Implement a new kind of Pass: dynamic pass pipeline 2020-09-22 18:51:54 +00:00
invalid-pass.mlir [mlir] Add error message when failing to add pass 2020-12-29 14:20:19 -08:00
ir-printing.mlir [mlir] Add a new `print-ir-after-failure` IR pass printing flag 2021-05-19 16:54:20 -07:00
pass-timing.mlir [MLIR] Factor pass timing out into a dedicated timing manager 2021-05-12 18:14:51 +02:00
pipeline-options-parsing.mlir [mlir] Add support for filtering patterns based on debug names and labels 2021-06-02 12:05:25 -07:00
pipeline-parsing.mlir [MLIR] Factor pass timing out into a dedicated timing manager 2021-05-12 18:14:51 +02:00
pipeline-stats.mlir [ADT] Remove StatisticBase and make NoopStatistic empty 2021-04-26 16:47:32 -07:00
run-reproducer.mlir Avoid using /dev/null in test 2020-12-30 14:16:13 -08:00