From 238c937f1b20ed8910b8c1f5201a56b21c942efe Mon Sep 17 00:00:00 2001 From: Tian Jin Date: Mon, 23 Dec 2019 01:14:35 -0500 Subject: [PATCH] rewrite cli description --- src/main.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 427de11..002bf08 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -87,10 +87,13 @@ int main(int argc, char *argv[]) { llvm::cl::opt 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);