diff options
author | River Riddle <riddleriver@gmail.com> | 2021-01-26 16:54:25 -0800 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2021-01-27 17:41:51 -0800 |
commit | 02bc4c95f0729cc819776f73ec94a25405579183 (patch) | |
tree | 0dcf06cc93657a56ddadc6b81e4bf0486d55a72f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c3df9d58c75e0f89ca95e947804d65e79a491adc (diff) | |
download | llvm-02bc4c95f0729cc819776f73ec94a25405579183.zip llvm-02bc4c95f0729cc819776f73ec94a25405579183.tar.gz llvm-02bc4c95f0729cc819776f73ec94a25405579183.tar.bz2 |
[mlir][PassManager] Only reinitialize the pass manager if the context registry changes
This prevents needless reinitialization for clients that want to reuse a pass manager multiple times. A new `getRegisryHash` function is exposed by the context to give a rough indicator of when the context registry has changed.
Differential Revision: https://reviews.llvm.org/D95493
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions