llvm/mlir
Alex Zinenko 6c5ae8e974 [mlir] Support opaque types in LLVM IR -> MLIR translation
LLVM IR is moving towards adoption of opaque pointer types. These require extra
information to be passed when constructing some operations, in particular GEP
and Alloca. Adapt the builders of said operations and modify the translation
code to handle both opaque and non-opaque pointers.

This incidentally adds the translation for Alloca alignment and fixes the translation
of struct-related GEP indices that must be constant.

Reviewed By: wsmoses

Differential Revision: https://reviews.llvm.org/D123792
2022-04-15 17:51:31 +02:00
..
benchmark/python [mlir] Move the Builtin FuncOp to the Func dialect 2022-03-16 17:07:03 -07:00
cmake/modules Remove include_directories() from cmake mlir_tablegen() function (NFC) 2022-03-14 04:36:24 +00:00
docs [mlir] Split intrinsics out of LLVMOps.td 2022-04-14 13:23:31 +02:00
examples [MLIR] Standalone: Fix copy-and-paste typo (NFC) 2022-04-07 11:22:21 +02:00
include [mlir] Support opaque types in LLVM IR -> MLIR translation 2022-04-15 17:51:31 +02:00
lib [mlir] Support opaque types in LLVM IR -> MLIR translation 2022-04-15 17:51:31 +02:00
python [mlir][Linalg] Add pooling_nchw_sum op. 2022-04-08 17:57:47 +05:30
test [mlir] Support opaque types in LLVM IR -> MLIR translation 2022-04-15 17:51:31 +02:00
tools [mlir] Introduce Transform dialect 2022-04-14 13:48:45 +02:00
unittests [mlir][ods] Remove StrEnumAttr 2022-04-13 17:49:02 +00:00
utils [mlir] Fix a typo to load lsp-mode correctly. 2022-04-14 00:04:40 +00:00
.clang-format
.clang-tidy
CMakeLists.txt mlir: set CMAKE_INCLUDE_CURRENT_DIR to fix out-of-tree builds 2022-03-19 18:22:09 -05:00
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

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