diff options
author | Akshat Oke <Akshat.Oke@amd.com> | 2025-03-13 13:41:28 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 13:41:28 +0530 |
commit | 5952972c9164216be7c22292c52c131f1d0a8030 (patch) | |
tree | bfc9c7bf76484dbc63a91ae869521fbb04af2f25 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 43ab4228d00abcb08b5d75d154deeca9c42ca795 (diff) | |
download | llvm-5952972c9164216be7c22292c52c131f1d0a8030.zip llvm-5952972c9164216be7c22292c52c131f1d0a8030.tar.gz llvm-5952972c9164216be7c22292c52c131f1d0a8030.tar.bz2 |
[CodeGen][NPM] Port BranchFolder to NPM (#128858)
EnableTailMerge is false by default and is handled by the pass builder.
Passes are independent of target pipeline options.
This completes the generic `MachineLateOptimization` passes for the NPM
pipeline.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index b36d2f7..8d108c2 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -22,7 +22,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeAtomicExpandLegacyPass(Registry); initializeBasicBlockPathCloningPass(Registry); initializeBasicBlockSectionsPass(Registry); - initializeBranchFolderPassPass(Registry); + initializeBranchFolderLegacyPass(Registry); initializeBranchRelaxationPass(Registry); initializeBreakFalseDepsPass(Registry); initializeCallBrPreparePass(Registry); |