diff options
author | Snehasish Kumar <snehasishk@google.com> | 2020-08-05 17:11:48 -0700 |
---|---|---|
committer | Snehasish Kumar <snehasishk@google.com> | 2020-08-06 13:12:06 -0700 |
commit | 8d943a928d254a25caa5a6d2f92f8719c92a9694 (patch) | |
tree | 248bb6cf04e7afd915d860b395781dd9b44b41fd /llvm/lib/CodeGen/TargetPassConfig.cpp | |
parent | f406a90a08c3993cd5bfd5e6a546165e55fec9b4 (diff) | |
download | llvm-8d943a928d254a25caa5a6d2f92f8719c92a9694.zip llvm-8d943a928d254a25caa5a6d2f92f8719c92a9694.tar.gz llvm-8d943a928d254a25caa5a6d2f92f8719c92a9694.tar.bz2 |
[NFC] Rename BBSectionsPrepare -> BasicBlockSections.
Rename the BBSectionsPrepare pass as suggested by the review comment in
https://reviews.llvm.org/D85368.
Differential Revision: https://reviews.llvm.org/D85380
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetPassConfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp index 6451194..9cdc828 100644 --- a/llvm/lib/CodeGen/TargetPassConfig.cpp +++ b/llvm/lib/CodeGen/TargetPassConfig.cpp @@ -1015,7 +1015,7 @@ void TargetPassConfig::addMachinePasses() { } if (TM->getBBSectionsType() != llvm::BasicBlockSection::None) - addPass(llvm::createBBSectionsPreparePass(TM->getBBSectionsFuncListBuf())); + addPass(llvm::createBasicBlockSectionsPass(TM->getBBSectionsFuncListBuf())); // Add passes that directly emit MI after all other MI passes. addPreEmitPass2(); |