diff options
| author | River Riddle <riverriddle@google.com> | 2019-12-06 17:04:24 -0800 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-12-06 17:05:05 -0800 |
| commit | 8904e910354d7ba0a1fcb56c082cc184e430a077 (patch) | |
| tree | 8194ac75d6d580aaa458b1b342d90d61fe2a97da /mlir/lib/Transforms/DialectConversion.cpp | |
| parent | ca23bd78d4bed96020f7e681a88c4c767fe594aa (diff) | |
| download | bcm5719-llvm-8904e910354d7ba0a1fcb56c082cc184e430a077.tar.gz bcm5719-llvm-8904e910354d7ba0a1fcb56c082cc184e430a077.zip | |
Add a flag to the IRPrinter instrumentation to only print after a pass if there is a change to the IR.
This adds an additional filtering mode for printing after a pass that checks to see if the pass actually changed the IR before printing it. This "change" detection is implemented using a SHA1 hash of the current operation and its children.
PiperOrigin-RevId: 284291089
Diffstat (limited to 'mlir/lib/Transforms/DialectConversion.cpp')
0 files changed, 0 insertions, 0 deletions

