diff options
author | Chijun Sima <simachijun@gmail.com> | 2018-07-13 04:02:13 +0000 |
---|---|---|
committer | Chijun Sima <simachijun@gmail.com> | 2018-07-13 04:02:13 +0000 |
commit | 00712cb749b47ef1e1c71b06958101743f8f3408 (patch) | |
tree | c02bcc136c1df95d9d470ea1422164dbd40fb5d6 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | dc5ba317b1c15355560fc3bf42d02f5ef3e9cf3b (diff) | |
download | llvm-00712cb749b47ef1e1c71b06958101743f8f3408.zip llvm-00712cb749b47ef1e1c71b06958101743f8f3408.tar.gz llvm-00712cb749b47ef1e1c71b06958101743f8f3408.tar.bz2 |
[DomTreeUpdater] Ignore updates when both DT and PDT are nullptrs
Summary:
Previously, when both DT and PDT are nullptrs and the UpdateStrategy is Lazy, DomTreeUpdater still pends updates inside.
After this patch, DomTreeUpdater will ignore all updates from(`applyUpdates()/insertEdge*()/deleteEdge*()`) in this case. (call `delBB()` still pends BasicBlock deletion until a flush event according to the doc).
The behavior of DomTreeUpdater previously documented won't change after the patch.
Reviewers: dmgreen, davide, kuhar, brzycki, grosser
Reviewed By: kuhar
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D48974
llvm-svn: 336968
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions