[llvm] [BOLT][NFC] Rename getNames for PLT, TailDuplication (PR #119870)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 04:30:57 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Paschalis Mpeis (paschalis-mpeis)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/119870.diff
2 Files Affected:
- (modified) bolt/include/bolt/Passes/PLTCall.h (+1-1)
- (modified) bolt/include/bolt/Passes/TailDuplication.h (+1-1)
``````````diff
diff --git a/bolt/include/bolt/Passes/PLTCall.h b/bolt/include/bolt/Passes/PLTCall.h
index 09ef96e27293da..9c46f5ddf701cc 100644
--- a/bolt/include/bolt/Passes/PLTCall.h
+++ b/bolt/include/bolt/Passes/PLTCall.h
@@ -26,7 +26,7 @@ class PLTCall : public BinaryFunctionPass {
explicit PLTCall(const cl::opt<bool> &PrintPass)
: BinaryFunctionPass(PrintPass) {}
- const char *getName() const override { return "PLT call optimization"; }
+ const char *getName() const override { return "plt-call-optimization"; }
bool shouldPrint(const BinaryFunction &BF) const override {
return BinaryFunctionPass::shouldPrint(BF);
}
diff --git a/bolt/include/bolt/Passes/TailDuplication.h b/bolt/include/bolt/Passes/TailDuplication.h
index a2fcab0720ca27..4a7ec083bc4857 100644
--- a/bolt/include/bolt/Passes/TailDuplication.h
+++ b/bolt/include/bolt/Passes/TailDuplication.h
@@ -143,7 +143,7 @@ class TailDuplication : public BinaryFunctionPass {
explicit TailDuplication() : BinaryFunctionPass(false) {}
- const char *getName() const override { return "tail duplication"; }
+ const char *getName() const override { return "tail-duplication"; }
Error runOnFunctions(BinaryContext &BC) override;
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/119870
More information about the llvm-commits
mailing list