aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2021-10-07 15:11:31 +0100
committerJay Foad <jay.foad@amd.com>2021-10-07 21:30:26 +0100
commite996cf7dce2c86d40fec263d82545dd363d9f445 (patch)
tree919ff408244f360d7fc89404639c5c4376b0a7e9 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parent097339b1cadcd6c24b607355db0f4c271d8ed261 (diff)
downloadllvm-e996cf7dce2c86d40fec263d82545dd363d9f445.zip
llvm-e996cf7dce2c86d40fec263d82545dd363d9f445.tar.gz
llvm-e996cf7dce2c86d40fec263d82545dd363d9f445.tar.bz2
[AMDGPU] Preserve MachineDominatorTree in SILowerControlFlow
Updating the MachineDominatorTree is easy since SILowerControlFlow only splits and removes basic blocks. This should save a bit of compile time because previously we would recompute the dominator tree from scratch after this pass. Another reason for doing this is that SILowerControlFlow preserves LiveIntervals which transitively requires MachineDominatorTree. I think that means that SILowerControlFlow is obliged to preserve MachineDominatorTree too as explained here: https://lists.llvm.org/pipermail/llvm-dev/2020-November/146923.html although it does not seem to have caused any problems in practice yet. Differential Revision: https://reviews.llvm.org/D111313
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions