From 4d6b5493394c83a359c249e7ef46954f77054d6c Mon Sep 17 00:00:00 2001 From: Kan Chen Date: Thu, 8 Aug 2019 09:30:09 -0700 Subject: [PATCH] Command toyc should be toyc-ch2 in this chapter Closes tensorflow/mlir#70 PiperOrigin-RevId: 262370485 --- mlir/g3doc/Tutorials/Toy/Ch-2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 mlir/g3doc/Tutorials/Toy/Ch-2.md diff --git a/mlir/g3doc/Tutorials/Toy/Ch-2.md b/mlir/g3doc/Tutorials/Toy/Ch-2.md old mode 100644 new mode 100755 index 37a43ac..f19ee18 --- a/mlir/g3doc/Tutorials/Toy/Ch-2.md +++ b/mlir/g3doc/Tutorials/Toy/Ch-2.md @@ -185,9 +185,9 @@ func @main() loc("test/codegen.toy":6:1) { } ``` -You can build `toyc` and try yourself: `toyc test/codegen.toy -emit=mlir --mlir-print-debuginfo`. We can also check our RoundTrip: `toyc test/codegen.toy --emit=mlir -mlir-print-debuginfo > codegen.mlir` followed by `toyc codegen.mlir +You can build `toyc-ch2` and try yourself: `toyc-ch2 test/codegen.toy -emit=mlir +-mlir-print-debuginfo`. We can also check our RoundTrip: `toyc-ch2 test/codegen.toy +-emit=mlir -mlir-print-debuginfo > codegen.mlir` followed by `toyc-ch2 codegen.mlir -emit=mlir`. Notice how these MLIR operations are prefixed with `toy.` ; by convention we use -- 2.7.4