[mlir:toy][NFC] Remove unnecessary trailing return typeIn this instance, the trailing return type does not improve readabilityas it repeats what is returned in the same line.Reviewed By: rriddle
[mlir:toy][NFC] Remove unnecessary trailing return typeIn this instance, the trailing return type does not improve readabilityas it repeats what is returned in the same line.Reviewed By: rriddleDifferential Revision: https://reviews.llvm.org/D125697
show more ...
Apply clang-tidy fixes for readability-identifier-naming to MLIR (NFC)
Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC)
Apply clang-tidy fixes for llvm-header-guard in MLIR (NFC)Differential Revision: https://reviews.llvm.org/D117251
Fix a typo in the error message for an incorrect prototype.Summary: Cut & paste error had the error message mentionning "}" rather than ")".Differential Revision: https://reviews.llvm.org/D77625
[mlir][Tutorial] Make parsing an empty file print a better error.Summary:Previously, we would, for an empty file, print the somewhat confusing Assertion `tok == curTok [...]' failed.With this c
[mlir][Tutorial] Make parsing an empty file print a better error.Summary:Previously, we would, for an empty file, print the somewhat confusing Assertion `tok == curTok [...]' failed.With this change, we now print Parse error [...]: expected 'def' [...]This only affects the parser from chapters 1-6, since the more advancedchapter 7 parser is actually able to generate an empty module from anempty file. Nonetheless, this commit also adds the additional check tothe chapter 7 parser, for consistency.Differential Revision: https://reviews.llvm.org/D75534
A bunch more implicit string conversions that my Clang didn't detect.
Fix implicit conversions in example code.
Mass update the MLIR license header to mention "Part of the LLVM project"This is an artifact from merging MLIR into LLVM, the file headers arenow aligned with the rest of the project.
Adjust License.txt file to use the LLVM licensePiperOrigin-RevId: 286906740
Modify tutorial and other documentation for consistency, clarity, and correctness.PiperOrigin-RevId: 280678392
NFC: Uniformize parser naming scheme in Toy tutorial to camelCase and tidy a bit of the implementation.PiperOrigin-RevId: 278982817
Fix minor spelling tweaks (NFC)Closes tensorflow/mlir#175PiperOrigin-RevId: 275726876
Fix typos, NFC.PiperOrigin-RevId: 272851237
Update Ch.2 of the Toy tutorial.The code and documentation for this chapter of the tutorial have been updated to follow the new flow. The toy 'array' type has been replaced by usages of the MLIR te
Update Ch.2 of the Toy tutorial.The code and documentation for this chapter of the tutorial have been updated to follow the new flow. The toy 'array' type has been replaced by usages of the MLIR tensor type. The code has also been cleaned up and modernized.Closes tensorflow/mlir#101PiperOrigin-RevId: 265744086
NFC: Update Ch.1 of the Toy tutorial.Change the use of 'array' to 'tensor' to reflect the new flow that the tutorial will follow. Also tidy up some of the documentation, code comments, and fix a fe
NFC: Update Ch.1 of the Toy tutorial.Change the use of 'array' to 'tensor' to reflect the new flow that the tutorial will follow. Also tidy up some of the documentation, code comments, and fix a few out-dated links.PiperOrigin-RevId: 265174676
Change from llvm::make_unique to std::make_uniqueSwitch to C++14 standard method as llvm::make_unique has been removed (https://reviews.llvm.org/D66259). Also mark some targets as c++14 to ease ne
Change from llvm::make_unique to std::make_uniqueSwitch to C++14 standard method as llvm::make_unique has been removed (https://reviews.llvm.org/D66259). Also mark some targets as c++14 to ease nextintegrates.PiperOrigin-RevId: 263953918
Initial version for chapter 1 of the Toy tutorial--PiperOrigin-RevId: 241549247