llvm-project/mlir
Alex Zinenko 0a2131b7e2 [mlir] LLVMFuncOp: provide a capability to pass attributes through to LLVM IR
Summary:
LLVM IR functions can have arbitrary attributes attached to them, some of which
affect may affect code transformations. Until we can model all attributes
consistently, provide a pass-through mechanism that forwards attributes from
the LLVMFuncOp in MLIR to LLVM IR functions during translation. This mechanism
relies on LLVM IR being able to recognize string representations of the
attributes and performs some additional checking to avoid hitting assertions
within LLVM code.

Differential Revision: https://reviews.llvm.org/D77072
2020-04-02 12:52:46 +02:00
..
cmake/modules [mlir] Revamp operation documentation generation 2020-03-24 12:05:18 -07:00
docs [mlir] LLVMFuncOp: provide a capability to pass attributes through to LLVM IR 2020-04-02 12:52:46 +02:00
examples [mlir][NFC] Cleanup AffineOps directory structure 2020-03-20 14:23:43 -07:00
include [mlir] LLVMFuncOp: provide a capability to pass attributes through to LLVM IR 2020-04-02 12:52:46 +02:00
lib [mlir] LLVMFuncOp: provide a capability to pass attributes through to LLVM IR 2020-04-02 12:52:46 +02:00
test [mlir] LLVMFuncOp: provide a capability to pass attributes through to LLVM IR 2020-04-02 12:52:46 +02:00
tools Remove linking all targets from `mlir-opt` (NFC) 2020-04-01 17:21:07 +00:00
unittests Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
utils [mlir][spirv] Change op doc description autogen separator 2020-03-31 15:28:06 -04: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] Fix cross compiling MLIR 2020-03-14 19:18:40 +00: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.