[llvm] [tools][llvm-as] Fix file input extension description (PR #108295)

Amr Hesham via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 14:27:39 PDT 2024


https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/108295

Input file extension description should mention that it should be `.ll` not `.llvm`

>From 81c972583599068aec73f4c00b966d0aa37043e0 Mon Sep 17 00:00:00 2001
From: AmrDeveloper <amr96 at programmer.net>
Date: Wed, 11 Sep 2024 23:26:29 +0200
Subject: [PATCH] [tools][llvm-as] Fix file input extension description

---
 llvm/tools/llvm-as/llvm-as.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index f28ad00184420f..39e25b4bcfb55a 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/tools/llvm-as/llvm-as.cpp
@@ -33,7 +33,7 @@ using namespace llvm;
 cl::OptionCategory AsCat("llvm-as Options");
 
 static cl::opt<std::string> InputFilename(cl::Positional,
-                                          cl::desc("<input .llvm file>"),
+                                          cl::desc("<input .ll file>"),
                                           cl::init("-"));
 
 static cl::opt<std::string> OutputFilename("o",



More information about the llvm-commits mailing list