Open kiszk opened 5 years ago
Thanks for the report! I would delay acting on this at the moment as in the next two weeks we are landing a major update to the whole tutorial.
@joker-eph I see. Item 2 may come from the specification update of MLIR. On the other hand, item 1 looks obviously incorrect in the output. Should we find and solve the root cause in mlir module?
The location difference is to be expected because the ast.toy in the test directory has two additional lines to account for the lit test RUN line. The example in Ch-1.md just needs to be updated to have the explicit shape removed, i.e. it should match whatever ast.toy generates.
When I run Tutorial Toy Chapter 1, I realized there are two differences from the description.
Should we address these differences? Or, is MLIR specification changed?
BinOp: * @ast.toy:6:14
beBinOp: * @ast.toy:6:12
?VarDecl a<> @ast.toy:12:3
has no shape while the example has a shape likeVarDecl a<2, 3> @test/ast.toy:11:3
Environment: Ubuntu 16.04.6 LTS on x86_64 g++ 7.4.0