diff options
Diffstat (limited to 'mlir/docs/Tutorials/Toy/Ch-2.md')
-rwxr-xr-x | mlir/docs/Tutorials/Toy/Ch-2.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/docs/Tutorials/Toy/Ch-2.md b/mlir/docs/Tutorials/Toy/Ch-2.md index ce46788f4ae..11c3936b546 100755 --- a/mlir/docs/Tutorials/Toy/Ch-2.md +++ b/mlir/docs/Tutorials/Toy/Ch-2.md @@ -351,7 +351,7 @@ At this point you probably might want to know what the C++ code generated by TableGen looks like. Simply run the `mlir-tblgen` command with the `gen-op-decls` or the `gen-op-defs` action like so: -``` +```shell ${build_root}/bin/mlir-tblgen -gen-op-defs ${mlir_src_root}/examples/toy/Ch2/include/toy/Ops.td -I ${mlir_src_root}/include/ ``` @@ -527,7 +527,7 @@ variadic operands, etc. Check out the At this point we can generate our "Toy IR". A simplified version of the previous example: -```.toy +```toy # User defined generic function that operates on unknown shaped arguments. def multiply_transpose(a, b) { return transpose(a) * transpose(b); |