llvm-project/mlir/examples/toy
Lei Zhang 7432234f3c NFC: Use #ifndef in various .td files instead of #ifdef and #else
Upstream LLVM gained support for #ifndef with https://reviews.llvm.org/D61888

This is changed mechanically via the following command:

find . -name "*.td" -exec sed -i -e ':a' -e 'N' -e '$!ba' -e 's/#ifdef \([A-Z_]*\)\n#else/#ifndef \1/g' {} \;

PiperOrigin-RevId: 277789427
2019-10-31 13:29:50 -07:00
..
Ch1 Fix minor spelling tweaks (NFC) 2019-10-20 09:44:36 -07:00
Ch2 NFC: Use #ifndef in various .td files instead of #ifdef and #else 2019-10-31 13:29:50 -07:00
Ch3 NFC: Use #ifndef in various .td files instead of #ifdef and #else 2019-10-31 13:29:50 -07:00
Ch4 NFC: Use #ifndef in various .td files instead of #ifdef and #else 2019-10-31 13:29:50 -07:00
Ch5 NFC: Use #ifndef in various .td files instead of #ifdef and #else 2019-10-31 13:29:50 -07:00
Ch6 NFC: Use #ifndef in various .td files instead of #ifdef and #else 2019-10-31 13:29:50 -07:00
CMakeLists.txt Add Ch.6 of the Toy tutorial. 2019-10-17 14:22:13 -07:00
README.md Move the top-level `tutorial` as `Linalg` nested in the examples folder 2019-04-03 19:21:38 -07:00

README.md

Toy Tutorial

This contains sample code to support the tutorial on using MLIR for building a compiler for a simple Toy language.

See g3doc/Tutorials/Toy at the root of the repository for more informations.