llvm-project/mlir/test/Target
Alex Zinenko b2ab375d1f [mlir] use the new stateful LLVM type translator by default
Previous type model in the LLVM dialect did not support identified structure
types properly and therefore could use stateless translations implemented as
free functions. The new model supports identified structs and must keep track
of the identified structure types present in the target context (LLVMContext or
MLIRContext) to avoid creating duplicate structs due to LLVM's type
auto-renaming. Expose the stateful type translation classes and use them during
translation, storing the state as part of ModuleTranslation.

Drop the test type translation mechanism that is no longer necessary and update
the tests to exercise type translation as part of the main translation flow.

Update the code in vector-to-LLVM dialect conversion that relied on stateless
translation to use the new class in a stateless manner.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D85297
2020-08-06 00:36:33 +02:00
..
avx512.mlir [mlir] switch the modeling of LLVM types to use the new mechanism 2020-08-04 14:29:25 +02:00
import.ll [mlir] use the new stateful LLVM type translator by default 2020-08-06 00:36:33 +02:00
llvmir-debug.mlir [mlir] Add support for basic location translation to LLVM. 2020-02-05 17:41:51 -08:00
llvmir-intrinsics.mlir [mlir] [VectorOps] Add expand/compress operations to Vector dialect 2020-08-04 12:00:42 -07:00
llvmir-invalid.mlir [mlir] switch the modeling of LLVM types to use the new mechanism 2020-08-04 14:29:25 +02:00
llvmir-types.mlir [mlir] use the new stateful LLVM type translator by default 2020-08-06 00:36:33 +02:00
llvmir.mlir [mlir] switch the modeling of LLVM types to use the new mechanism 2020-08-04 14:29:25 +02:00
nvvmir.mlir [mlir] switch the modeling of LLVM types to use the new mechanism 2020-08-04 14:29:25 +02:00
openmp-llvm.mlir Lowering of OpenMP Parallel operation to LLVM IR 1/n 2020-07-13 23:55:45 +01:00
rocdl.mlir [mlir] switch the modeling of LLVM types to use the new mechanism 2020-08-04 14:29:25 +02:00
vector-to-llvm-ir.mlir [mlir] [VectorOps] Implement vector.create_mask lowering to LLVM IR 2020-05-15 11:02:30 -07:00