[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp

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



Changes in directory llvm/lib/ExecutionEngine/JIT:

TargetSelect.cpp updated: 1.8 -> 1.9
---
Log message:

Add help support for -mcpu and -mattr.


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

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


Index: llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp
diff -u llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.8 llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.9
--- llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.8	Thu Sep  1 16:38:20 2005
+++ llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp	Fri Sep  2 14:27:43 2005
@@ -26,15 +26,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"));
 
 /// create - Create an return a new JIT compiler if there is one available
 /// for the current target.  Otherwise, return null.






More information about the llvm-commits mailing list