Change conversion CLI flag from -lower-to-llvm to -convert-std-to-llvm
authorAlex Zinenko <zinenko@google.com>
Tue, 19 Nov 2019 08:34:20 +0000 (00:34 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 19 Nov 2019 08:34:51 +0000 (00:34 -0800)
commit8961d8e32fc371631b990b8ece64da6b7691236e
treea96c126616d57acb03e621095edc8df3aa1c2ab8
parent9110af5bec63525ba7ebbcdaba1d205ba04d1efc
Change conversion CLI flag from -lower-to-llvm to -convert-std-to-llvm

The command-line flag name `lower-to-llvm` for the pass performing dialect
conversion from the Standard dialect to the LLVM dialect is misleading and
inconsistent with most of the conversion passses. It leads the user to believe
that there are no restrictions on what can be converted, while in fact only a
subset of the Standard dialect can be converted (with operations from other
dialects converted by separate passes). Use `convert-std-to-llvm` that better
reflects what the pass does and is consistent with most other conversions.

PiperOrigin-RevId: 281238797
mlir/g3doc/ConversionToLLVMDialect.md
mlir/g3doc/Passes.md
mlir/g3doc/WritingAPass.md
mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
mlir/test/Conversion/StandardToLLVM/convert-argattrs.mlir
mlir/test/Conversion/StandardToLLVM/convert-funcs.mlir
mlir/test/Conversion/StandardToLLVM/convert-memref-ops.mlir
mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
mlir/test/mlir-cpu-runner/utils.mlir