[llvm] [BOLT][NFC] Rename getNames for PLT, TailDuplication (PR #119870)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 04:30:23 PST 2024
https://github.com/paschalis-mpeis created https://github.com/llvm/llvm-project/pull/119870
None
>From 3eba4f70e3457b15ef25b0d1c0b8e6bdd5641b7b Mon Sep 17 00:00:00 2001
From: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
Date: Fri, 13 Dec 2024 12:21:57 +0000
Subject: [PATCH] [BOLT][NFC] Rename getNames for PLT, TailDuplication
---
bolt/include/bolt/Passes/PLTCall.h | 2 +-
bolt/include/bolt/Passes/TailDuplication.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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;
};
More information about the llvm-commits
mailing list