summaryrefslogtreecommitdiffstats
path: root/mlir/test/lit.cfg.py
Commit message (Collapse)AuthorAgeFilesLines
* Automated rollback of commit d60133f89bb08341718bb3132b19bc891f7d4f4dNicolas Vasilache2019-11-261-2/+2
| | | | PiperOrigin-RevId: 282574110
* Changing directory shortcut for CPU/GPU runner utils.Christian Sigg2019-11-251-2/+2
| | | | | | | Moving cuda-runtime-wrappers.so into subdirectory to match libmlir_runner_utils.so. Provide parent directory when running test and load .so from subdirectory. PiperOrigin-RevId: 282410749
* [llvm] Add initial import of LLVM modules to mlir-translateJames Molloy2019-11-051-1/+1
| | | | | | | | | | | | | | | | This adds an importer from LLVM IR or bitcode to the LLVM dialect. The importer is registered with mlir-translate. Known issues exposed by this patch but not yet fixed: * Globals' initializers are attributes, which makes it impossible to represent a ConstantExpr. This will be fixed in a followup. * icmp returns i32 rather than i1. * select and a couple of other instructions aren't implemented. * llvm.cond_br takes its successors in a weird order. The testing here is known to be non-exhaustive. I'd appreciate feedback on where this functionality should live. It looks like the translator *from MLIR to LLVM* lives in Target/, but the SPIR-V deserializer lives in Dialect/ which is why I've put this here too. PiperOrigin-RevId: 278711683
* Add an mlir-cuda-runner tool.Stephan Herhut2019-07-041-0/+1
| | | | | | | | This tool allows to execute MLIR IR snippets written in the GPU dialect on a CUDA capable GPU. For this to work, a working CUDA install is required and the build has to be configured with MLIR_CUDA_RUNNER_ENABLED set to 1. PiperOrigin-RevId: 256551415
* Split test-specific passes out of mlir-optNicolas Vasilache2019-06-241-1/+0
| | | | | | Instead put their impl in test/lib and link them into mlir-test-opt PiperOrigin-RevId: 254837439
* Add a new TestDialect directory in tests/. This directory defines a fake ↵River Riddle2019-06-011-0/+1
| | | | | | | | 'TestDialect' that allows for the use of FileCheck to test things that aren't currently used anywhere else in tree. As a first order, this should simplify the tests used for tablegen components revolving around operation constraints/patterns. -- PiperOrigin-RevId: 249724328
* Fix MacOS test: use %shlibext in lit command line to expand to .dylib on ↵Mehdi Amini2019-05-201-0/+1
| | | | | | | | MacOS and .so on Linux -- PiperOrigin-RevId: 249113478
* Enable EDSC API test running through litAlex Zinenko2019-05-201-1/+4
| | | | | | | | | | | EDSC subsystem contains an API test which is a .cpp file calling the API in question and producing IR. This IR is further checked using FileCheck and should plug into lit. Provide a CMakeLists.txt to build the test and modify the lit configuration to process the source file. -- PiperOrigin-RevId: 248794443
* Cleanup linalg integration testNicolas Vasilache2019-05-201-0/+1
| | | | | | | | | | This CL performs post-commit cleanups. It adds the ability to specify which shared libraries to load dynamically in ExecutionEngine. The linalg integration test is updated to use a shared library. Additional minor cleanups related to LLVM lowering of Linalg are also included. -- PiperOrigin-RevId: 248346589
* Toy tutorial Chapter 5: Lowering to Linalg and LLVMMehdi Amini2019-04-081-0/+1
| | | | | | -- PiperOrigin-RevId: 242606796
* Add Chapter 4 for the Toy tutorial: shape inference, function ↵Mehdi Amini2019-04-051-0/+1
| | | | | | | | specialization, and basic combines -- PiperOrigin-RevId: 242050514
* Fix Toy Ch3 testing with CMakeMehdi Amini2019-04-031-0/+1
| | | | | | | | | Mainly a missing dependency caused the tests to pass if one already built the repo, but not from a clean (or incremental) build. -- PiperOrigin-RevId: 241852313
* Chapter 2 of the Toy tutorialMehdi Amini2019-04-021-0/+1
| | | | | | | | | This introduces a basic MLIRGen through straight AST traversal, without dialect registration at this point. -- PiperOrigin-RevId: 241588354
* Initial version for chapter 1 of the Toy tutorialMehdi Amini2019-04-021-1/+7
| | | | | | -- PiperOrigin-RevId: 241549247
* Add build files and update README.Jacques Pienaar2019-03-301-0/+57
* Add initial version of build files; * Update README with instructions to download and build MLIR from github; -- PiperOrigin-RevId: 241102092
OpenPOWER on IntegriCloud