aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2021-01-26 16:54:25 -0800
committerRiver Riddle <riddleriver@gmail.com>2021-01-27 17:41:51 -0800
commit02bc4c95f0729cc819776f73ec94a25405579183 (patch)
tree0dcf06cc93657a56ddadc6b81e4bf0486d55a72f /clang/lib/Frontend/CompilerInvocation.cpp
parentc3df9d58c75e0f89ca95e947804d65e79a491adc (diff)
downloadllvm-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