llvm-project/mlir
Matthew Parkinson dd2dac2fd0 Fix MLIR Async Runtime DLL on Windows
The AsyncRuntime declares prototypes for extern "C" functions inside a
namespace in the header, but not inside that namespace in the
definition. This causes Visual Studio to treat them as different
entities and thus the dllexport is ignored for the definitions.

Using the same namespace fixes this issue.

Secondly, this commit moves the dllexport to be consistent with the
JITs expectation.

This is an update to https://reviews.llvm.org/D95386 that fixes the
compile issues in old versions of Visual studio.

Differential Revision: https://reviews.llvm.org/D95933
2021-02-03 12:23:41 +00:00
..
cmake/modules [MLIR] [CMake] Support building MLIR standalone 2021-02-02 13:10:21 -06:00
docs [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
examples [mlir][Python] Roll up of python API fixes. 2021-01-24 19:02:59 -08:00
include Fix MLIR Async Runtime DLL on Windows 2021-02-03 12:23:41 +00:00
integration_test [mlir][sparse] use typenames for opaque pointers 2021-01-28 09:23:11 -08:00
lib Fix MLIR Async Runtime DLL on Windows 2021-02-03 12:23:41 +00:00
test [mlir] Fix scf.for single iteration canonicalization check 2021-02-02 18:30:50 -05:00
tools [mlir][NFC] Use explicit `mlir` namespace in generated code 2021-02-02 18:24:43 +00:00
unittests Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar will have rank 0. 2021-01-29 16:56:00 -08:00
utils [mlir][spirv] Fix script for availability autogen and refresh ops 2021-01-22 13:07:36 -05:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [MLIR] [CMake] Support building MLIR standalone 2021-02-02 13:10:21 -06:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.