aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-01-01 19:06:44 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-01-02 01:01:19 +0300
commite6b1a27fb9c71a9a81439917368a25ddc7d371a9 (patch)
tree1427e5ca4c59512665eda5c2052a775510466603 /llvm/lib/CodeGen/CodeGen.cpp
parentc38739ad8f10beb3144abcfebdcf50547328d346 (diff)
downloadllvm-e6b1a27fb9c71a9a81439917368a25ddc7d371a9.zip
llvm-e6b1a27fb9c71a9a81439917368a25ddc7d371a9.tar.gz
llvm-e6b1a27fb9c71a9a81439917368a25ddc7d371a9.tar.bz2
[NFC][CodeGen] Split DwarfEHPrepare pass into an actual transform and an legacy-PM wrapper
This is consistent with the layout of other passes, and simplifies further refinements regarding DomTree handling. This is indended to be a NFC commit.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 9492549..d2400d0 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -30,7 +30,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeDeadMachineInstructionElimPass(Registry);
initializeDebugifyMachineModulePass(Registry);
initializeDetectDeadLanesPass(Registry);
- initializeDwarfEHPreparePass(Registry);
+ initializeDwarfEHPrepareLegacyPassPass(Registry);
initializeEarlyIfConverterPass(Registry);
initializeEarlyIfPredicatorPass(Registry);
initializeEarlyMachineLICMPass(Registry);