summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorChris Lattner <clattner@nondot.org>2021-06-13 21:42:06 -0700
committerChris Lattner <clattner@nondot.org>2021-06-14 10:03:07 -0700
commitce77039596a9bfb9f1649455ef4f26aeada2ee8c (patch)
treefe89ac3702a978f46206afd4e113a6e96d80cb10 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent8591640379ac9175a8a8493126ecf0b44e3bb4af (diff)
[Verifier] Parallelize verification and dom checking. NFC.
This changes the outer verification loop to not recurse into IsolatedFromAbove operations - instead return them up to a place where a parallel for loop can process them all in parallel. This also changes Dominance checking to happen on IsolatedFromAbove chunks of the region tree, which makes it easy to fold operation and dominance verification into a single simple parallel regime. This speeds up firtool in CIRCT from ~40s to 31s on a large testcase in -verify-each mode (the default). The .fir parser and module passes in particular benefit from this - FModule passes (roughly analogous to function passes) were already running the verifier in parallel as part of the pass manager. This allows the whole-module passes to verify their enclosed functions / FModules in parallel. -verify-each mode is still faster (26.3s on the same testcase), but we do expect the verifier to take *some* time. Differential Revision: https://reviews.llvm.org/D104207
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions