[all-commits] [llvm/llvm-project] 6ca387: [CodeGen] Introduce `MachineDomTreeUpdater` (#95369)
paperchalice via All-commits
all-commits at lists.llvm.org
Wed Jun 26 21:25:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ca387cbcb207abe2a07bbb1b536f099c2e246e7
https://github.com/llvm/llvm-project/commit/6ca387cbcb207abe2a07bbb1b536f099c2e246e7
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/DomTreeUpdater.h
A llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
A llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/lib/Analysis/DomTreeUpdater.cpp
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/MachineBasicBlock.cpp
A llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
M llvm/unittests/CodeGen/CMakeLists.txt
A llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
Log Message:
-----------
[CodeGen] Introduce `MachineDomTreeUpdater` (#95369)
This commit converts most of `DomTreeUpdater` into
`GenericDomTreeUpdater` class template, so IR and MIR can reuse some
codes.
There are some differences between interfaces of `BasicBlock` and
`MachineBasicBlock`, so subclasses still need to implement some
functions, like `forceFlushDeletedBB`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list