[mlir] Fix/Clarify parts of MLIR toy tutorial chapter 6+7
authorMatthias Kramm <kramm@google.com>
Fri, 28 Feb 2020 01:53:03 +0000 (17:53 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Fri, 28 Feb 2020 01:53:26 +0000 (17:53 -0800)
commit45d522d691cc6e0edf9f2c6297eac01e978f5b3f
treed4f60b5a0b88e2dceb85ae85ae21341c076bfba1
parent240769c8bbfce29ab0b9e871831a9aecfabc1210
[mlir] Fix/Clarify parts of MLIR toy tutorial chapter 6+7

Summary:
* add missing comma.
* remove "having to register them here" phrasing, since register it
  is what we're doing, which made the comment a bit confusing.
* remove duplicate code.
* clarify link to chapter 3, since "folder" doesn't appear in that
  chapter.

Differential Revision: https://reviews.llvm.org/D75263
mlir/docs/Tutorials/Toy/Ch-6.md
mlir/docs/Tutorials/Toy/Ch-7.md