Start a Linalg dialect
authorNicolas Vasilache <ntv@google.com>
Thu, 18 Apr 2019 15:25:54 +0000 (08:25 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 18 Apr 2019 18:50:27 +0000 (11:50 -0700)
commit8370cc74921f6fc84f5aaaf3f91bdf12890ed1f9
tree413d7f909d24e8c6597512bf62ef76c5f96ea17c
parent05dfb1c7e0040220149b5466f41a3027d527901c
Start a Linalg dialect

    This CL starts implementing a Linalg dialect with the objective of supporting
    optimizing compilation of loops and library calls for a subset of common linear
    algebra operations.

    This CL starts by simply adding a linalg.range type and an operation with the
    proper roundtripping test.

--

PiperOrigin-RevId: 244189468
mlir/examples/Linalg/Linalg1/include/linalg1/Types.h
mlir/include/mlir/Linalg/LinalgOps.h [new file with mode: 0644]
mlir/include/mlir/Linalg/LinalgTypes.h [new file with mode: 0644]
mlir/lib/CMakeLists.txt
mlir/lib/Linalg/CMakeLists.txt [new file with mode: 0644]
mlir/lib/Linalg/LinalgOps.cpp [new file with mode: 0644]
mlir/lib/Linalg/LinalgRegistration.cpp [new file with mode: 0644]
mlir/lib/Linalg/LinalgTypes.cpp [new file with mode: 0644]
mlir/test/Linalg/roundtrip.mlir [new file with mode: 0644]
mlir/tools/mlir-opt/CMakeLists.txt