summaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-split/llvm-split.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2025-01-03 10:22:51 +0100
committerMichael Kruse <llvm-project@meinersbur.de>2025-01-03 10:22:51 +0100
commit38500d63e14ce340236840f60d356cdefb56a52c (patch)
tree17edbec446ce9b50d2f215a483b83afb293a635d /llvm/tools/llvm-split/llvm-split.cpp
parent1a3d5daaef7a6a63448a497da3eff7fc9e23df26 (diff)
parent27f30029741ecf023baece7b3dde1ff9011ffefc (diff)
Merge branch 'main' into users/meinersbur/flang_runtime_split-headersusers/meinersbur/flang_runtime_split-headers
Diffstat (limited to 'llvm/tools/llvm-split/llvm-split.cpp')
-rw-r--r--llvm/tools/llvm-split/llvm-split.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-split/llvm-split.cpp b/llvm/tools/llvm-split/llvm-split.cpp
index c456403e6bc6..1b1f97f44e27 100644
--- a/llvm/tools/llvm-split/llvm-split.cpp
+++ b/llvm/tools/llvm-split/llvm-split.cpp
@@ -67,7 +67,7 @@ static cl::opt<std::string>
cl::value_desc("triple"), cl::cat(SplitCategory));
static cl::opt<std::string>
- MCPU("mcpu", cl::desc("Target CPU, ignored if -mtriple is not used"),
+ MCPU("mcpu", cl::desc("Target CPU, ignored if --mtriple is not used"),
cl::value_desc("cpu"), cl::cat(SplitCategory));
int main(int argc, char **argv) {
@@ -125,11 +125,11 @@ int main(int argc, char **argv) {
if (TM) {
if (PreserveLocals) {
- errs() << "warning: -preserve-locals has no effect when using "
+ errs() << "warning: --preserve-locals has no effect when using "
"TargetMachine::splitModule\n";
}
if (RoundRobin)
- errs() << "warning: -round-robin has no effect when using "
+ errs() << "warning: --round-robin has no effect when using "
"TargetMachine::splitModule\n";
if (TM->splitModule(*M, NumOutputs, HandleModulePart))