rewrite cli description
This commit is contained in:
parent
0c41a204e4
commit
238c937f1b
11
src/main.cpp
11
src/main.cpp
|
@ -87,10 +87,13 @@ int main(int argc, char *argv[]) {
|
|||
llvm::cl::opt<EmissionTargetType> emissionTarget(
|
||||
llvm::cl::desc("Choose target to emit:"),
|
||||
llvm::cl::values(
|
||||
clEnumVal(EmitONNXIR, "No optimizations, enable debugging"),
|
||||
clEnumVal(EmitMLIR, "Enable trivial optimizations"),
|
||||
clEnumVal(EmitLLVMIR, "Enable default optimizations"),
|
||||
clEnumVal(EmitLLVMBC, "Enable expensive optimizations")),
|
||||
clEnumVal(EmitONNXIR,
|
||||
"Ingest ONNX and emit corresponding ONNX dialect."),
|
||||
clEnumVal(EmitMLIR,
|
||||
"Lower model to MLIR built-in transformation dialect."),
|
||||
clEnumVal(EmitLLVMIR, "Lower model to LLVM IR (LLVM dialect)."),
|
||||
clEnumVal(EmitLLVMBC, "Lower model to LLVM IR and emit (to file) "
|
||||
"LLVM bitcode for model.")),
|
||||
llvm::cl::init(EmitLLVMBC), llvm::cl::cat(OnnfOptions));
|
||||
|
||||
llvm::cl::HideUnrelatedOptions(OnnfOptions);
|
||||
|
|
Loading…
Reference in New Issue