summaryrefslogtreecommitdiffstats
path: root/mlir/lib/IR
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-12-03 11:13:39 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-03 11:14:20 -0800
commit4741ec6af0d49cec5fb49a370244657c27ca033c (patch)
tree5fd08da58d7efc80ab0f7d425aa3ebbbf57d1f4a /mlir/lib/IR
parent353fb2bd3878c9a0c9c3e746c8ff5aa687ffcd72 (diff)
downloadbcm5719-llvm-4741ec6af0d49cec5fb49a370244657c27ca033c.tar.gz
bcm5719-llvm-4741ec6af0d49cec5fb49a370244657c27ca033c.zip
Allow analyses to provide a hook 'isInvalidated' to determine if they are truly invalidated.
The hook has the following form: * `bool isInvalidated(const AnalysisManager::PreservedAnalyses &)` Given a preserved analysis set, the analysis returns true if it should truly be invalidated. This allows for more fine-tuned invalidation in cases where an analysis wasn't explicitly marked preserved, but may be preserved(or invalidated) based upon other properties; such as analyses sets. PiperOrigin-RevId: 283582889
Diffstat (limited to 'mlir/lib/IR')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud