[llvm-commits] CVS: llvm/tools/llc/llc.cpp

Jim Laskey jlaskey at apple.com
Fri Sep 2 12:27:56 PDT 2005



Changes in directory llvm/tools/llc:

llc.cpp updated: 1.112 -> 1.113
---
Log message:

Add help support for -mcpu and -mattr.


---
Diffs of the changes:  (+3 -3)

 llc.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.112 llvm/tools/llc/llc.cpp:1.113
--- llvm/tools/llc/llc.cpp:1.112	Thu Sep  1 16:38:21 2005
+++ llvm/tools/llc/llc.cpp	Fri Sep  2 14:27:43 2005
@@ -50,15 +50,15 @@
 
 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),






More information about the llvm-commits mailing list