Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joey Carter <[email protected]>
  • Loading branch information
mehrdad2m and joeycarter authored Jan 6, 2025
1 parent 311b3d6 commit 4b11431
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doc/catalyst-cli/catalyst-cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ each stage individually. For example:
.. note::

If catalyst is built from source, the (``catalyst-cli``) executable would be located in
If Catalyst is built from source, the ``catalyst-cli`` executable will be located in
the ``mlir/build/bin/`` directory relative to the root of your Catalyst source directory.

If building Catalyst via pip or from wheels, the executable qould be located
at ``catalyst/bin/`` directory relative to the environment’s installation directory.
If Catalyst is installed via pip or from wheels, the executable will be located
in the ``catalyst/bin/`` directory relative to the environment’s installation directory.

Usage
-----
Expand Down Expand Up @@ -157,7 +157,7 @@ Enable asynchronous QNodes.
Define a *checkpoint stage*, used to indicate that the compiler should start only after reaching the
given stage. The stages that are currently available are:

* MLIR:: ``mlir`` (start with first MLIR stage), ``{pipeline}`` such as any of the built-in pipeline
* MLIR: ``mlir`` (start with first MLIR stage), ``{pipeline}`` such as any of the built-in pipeline
names described under the ``--{passname}`` option, OR any custom pipeline names if the
``--catalyst-pipeline={pipeline(...),...}`` option is used.
* LLVM: ``llvm_ir`` (start with first LLVM stage), ``CoroOpt``, ``O2Opt``, ``Enzyme``.
Expand Down
2 changes: 1 addition & 1 deletion mlir/lib/Driver/CompilerDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ int QuantumDriverMainFromCL(int argc, char **argv)
"Below, there is a complete list of options for the Catalyst CLI tool"
"In the first section, you can find the options that are used to"
"configure the Catalyst compiler. Next, you can find the options"
"specific to mlir-opt tool.\n";
"specific to the mlir-opt tool.\n";
std::tie(inputFilename, outputFilename) =
registerAndParseCLIOptions(argc, argv, helpStr, registry);
llvm::InitLLVM y(argc, argv);
Expand Down

0 comments on commit 4b11431

Please sign in to comment.