diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2022-12-01 19:33:11 +0100 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2022-12-03 14:15:15 -0600 |
commit | 17db0de330f943833296ae72e26fa988bba39cb3 (patch) | |
tree | 433e27a59c2c7a331eaf94daa0ff44f0f74ac6a0 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 9a41739565d9f7ce94da5e7d83947ead73d9bd54 (diff) | |
download | llvm-17db0de330f943833296ae72e26fa988bba39cb3.zip llvm-17db0de330f943833296ae72e26fa988bba39cb3.tar.gz llvm-17db0de330f943833296ae72e26fa988bba39cb3.tar.bz2 |
Reapply "[CodeGen] Add new pass for late cleanup of redundant definitions."
Init captures added in processBlock() to avoid capturing structured bindings,
which caused the build problems (with clang).
RISCV has this disabled for now until problems relating to post RA pseudo
expansions are resolved.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index a8bde3b..beedd94 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -78,6 +78,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeMachineCycleInfoWrapperPassPass(Registry); initializeMachineDominatorTreePass(Registry); initializeMachineFunctionPrinterPassPass(Registry); + initializeMachineLateInstrsCleanupPass(Registry); initializeMachineLICMPass(Registry); initializeMachineLoopInfoPass(Registry); initializeMachineModuleInfoWrapperPassPass(Registry); |