Skip to content

Commit b29046b

Browse files
authored
Fix some typos and phrasing in the docs (#1416)
**Context:** Fix some typos and phrasing in the docs
1 parent 2376fae commit b29046b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

frontend/catalyst/debug/compiler_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_compilation_stage(fn, stage):
4242
4343
All the available stages are:
4444
45-
- MILR: ``mlir``, ``HLOLoweringPass``, ``QuantumCompilationPass``, ``BufferizationPass``,
45+
- MLIR: ``mlir``, ``HLOLoweringPass``, ``QuantumCompilationPass``, ``BufferizationPass``,
4646
and ``MLIRToLLVMDialect``.
4747
4848
- LLVM: ``llvm_ir``, ``CoroOpt``, ``O2Opt``, ``Enzyme``, and ``last``.
@@ -139,7 +139,7 @@ def replace_ir(fn, stage, new_ir):
139139
140140
Available stages include:
141141
142-
- MILR: ``mlir``, ``HLOLoweringPass``, ``QuantumCompilationPass``, ``BufferizationPass``,
142+
- MLIR: ``mlir``, ``HLOLoweringPass``, ``QuantumCompilationPass``, ``BufferizationPass``,
143143
and ``MLIRToLLVMDialect``.
144144
145145
- LLVM: ``llvm_ir``, ``CoroOpt``, ``O2Opt``, ``Enzyme``, and ``last``.

frontend/test/lit/test_mlir_plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
# RUN: %PYTHON %s | FileCheck %s
1616

1717
"""
18-
This test makes sure that we can use plugins from the compiler
18+
This test makes sure that we can use plugins from the compiler.
1919
2020
Given the standalone-plugin in the MLIR repository, can we verify that
2121
it works when loading it from python?
2222
2323
This test uses a lot of machinery that is not exposed to the user.
2424
However, testing the standalone-plugin (as written in the LLVM repository)
25-
is impractical. The standalone-plugin rewrites a symbols with the name
25+
is impractical. The standalone-plugin rewrites all symbols with the name
2626
`bar` to symbols with the name `foo`. However, since the standalone
2727
plugin is meant to be more of an example, it does not modify
2828
the uses of symbol `bar` and change them to `foo`.
@@ -50,7 +50,7 @@ def module():
5050
print(module.mlir)
5151
```
5252
53-
It would succeed in generate correct MLIR during the lowering from JAXPR to MLIR.
53+
It would succeed at generating correct MLIR during the lowering from JAXPR to MLIR.
5454
However, after the `standalone-switch-bar-foo` pass, the verifier would fail
5555
because it would see callsites to `@bar` but no definitions for `@bar`.
5656

0 commit comments

Comments
 (0)