llvm-project/mlir/test/Target
Alex Zinenko 176379e0c8 [mlir] Use the interface-based translation for LLVM "intrinsic" dialects
Port the translation of five dialects that define LLVM IR intrinsics
(LLVMAVX512, LLVMArmNeon, LLVMArmSVE, NVVM, ROCDL) to the new dialect
interface-based mechanism. This allows us to remove individual translations
that were created for each of these dialects and just use one common
MLIR-to-LLVM-IR translation that potentially supports all dialects instead,
based on what is registered and including any combination of translatable
dialects. This removal was one of the main goals of the refactoring.

To support the addition of GPU-related metadata, the translation interface is
extended with the `amendOperation` function that allows the interface
implementation to post-process any translated operation with dialect attributes
from the dialect for which the interface is implemented regardless of the
operation's dialect. This is currently applied to "kernel" functions, but can
be used to construct other metadata in dialect-specific ways without
necessarily affecting operations.

Depends On D96591, D96504

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D96592
2021-02-15 14:43:07 +01:00
..
SPIRV [mlir][spirv] Add support for sampled image type 2021-02-09 14:14:07 -05:00
arm-neon.mlir [mlir] Use the interface-based translation for LLVM "intrinsic" dialects 2021-02-15 14:43:07 +01:00
arm-sve.mlir [mlir] Use the interface-based translation for LLVM "intrinsic" dialects 2021-02-15 14:43:07 +01:00
avx512.mlir [mlir] Use the interface-based translation for LLVM "intrinsic" dialects 2021-02-15 14:43:07 +01:00
import.ll [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
llvmir-debug.mlir [MLIR] Avoid adding debuginfo for a function if it contains calls that has no debug info. 2020-09-29 13:51:56 -07:00
llvmir-intrinsics.mlir Add LLVMIR Dialect counterparts of @llvm.maximum and @llvm.minimum. 2021-02-10 00:57:43 +00:00
llvmir-invalid.mlir [mlir] replace LLVM dialect float types with built-ins 2021-01-08 17:38:12 +01:00
llvmir-types.mlir [mlir] Add better support for f80 and f128 2021-01-15 10:29:48 -05:00
llvmir.mlir [mlir] sret and byval now require a type argument when constructed. 2021-01-26 10:47:19 -08:00
nvvmir.mlir [mlir] Use the interface-based translation for LLVM "intrinsic" dialects 2021-02-15 14:43:07 +01:00
openmp-llvm.mlir [mlir] Drop deprecated syntax for LLVM dialect types 2021-02-08 19:26:21 +01:00
rocdl.mlir [mlir] Use the interface-based translation for LLVM "intrinsic" dialects 2021-02-15 14:43:07 +01:00
vector-to-llvm-ir.mlir [mlir] make vector to llvm conversion truly partial 2021-02-04 11:33:24 +01:00