aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc/llc.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2005-09-02 19:27:43 +0000
committerJim Laskey <jlaskey@mac.com>2005-09-02 19:27:43 +0000
commit839615a510c582ddcdb09a8e2934f30775daa032 (patch)
tree0d786bf6025547449366b6acec24caa490868817 /tools/llc/llc.cpp
parent6621e3b9636174886c9665b648f2ddc13effbc8a (diff)
downloadexternal_llvm-839615a510c582ddcdb09a8e2934f30775daa032.zip
external_llvm-839615a510c582ddcdb09a8e2934f30775daa032.tar.gz
external_llvm-839615a510c582ddcdb09a8e2934f30775daa032.tar.bz2
Add help support for -mcpu and -mattr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc/llc.cpp')
-rw-r--r--tools/llc/llc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index fbd2cf8..f2bccd0 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -50,15 +50,15 @@ MArch("march", cl::desc("Architecture to generate code for:"));
static cl::opt<std::string>
MCPU("mcpu",
- cl::desc("Target a specific cpu type"),
+ cl::desc("Target a specific cpu type (-mcpu=help for list of choices)"),
cl::value_desc("cpu-name"),
cl::init(""));
static cl::list<std::string>
MAttrs("mattr",
cl::CommaSeparated,
- cl::desc("Target specific attributes:"),
- cl::value_desc("attributes"));
+ cl::desc("Target specific attributes (-mattr=help for list of choices)"),
+ cl::value_desc("attr1,+attr2, ..., -attrN"));
cl::opt<TargetMachine::CodeGenFileType>
FileType("filetype", cl::init(TargetMachine::AssemblyFile),