[all-commits] [llvm/llvm-project] ec1f4e: [mlir] switch the modeling of LLVM types to use th...
ftynse via All-commits
all-commits at lists.llvm.org
Tue Aug 4 05:29:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ec1f4e7c3b17656658c9cf49c33bc06c4bc747c2
https://github.com/llvm/llvm-project/commit/ec1f4e7c3b17656658c9cf49c33bc06c4bc747c2
Author: Alex Zinenko <zinenko at google.com>
Date: 2020-08-04 (Tue, 04 Aug 2020)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/include/mlir/Target/LLVMIR/TypeTranslation.h
M mlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-fp.mlir
M mlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-int.mlir
M mlir/lib/Conversion/VectorToLLVM/CMakeLists.txt
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
M mlir/lib/Dialect/LLVMIR/IR/TypeDetail.h
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/lib/Target/LLVMIR/TypeTranslation.cpp
M mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
M mlir/test/Conversion/GPUCommon/memory-attrbution.mlir
M mlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
M mlir/test/Conversion/GPUToROCm/lower-rocdl-kernel-to-hsaco.mlir
M mlir/test/Conversion/GPUToVulkan/invoke-vulkan.mlir
M mlir/test/Conversion/SPIRVToLLVM/arithmetic-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/bitwise-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/cast-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/comparison-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/constant-op-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/func-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/glsl-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/logical-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/memory-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/shifts-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir
M mlir/test/Conversion/StandardToLLVM/calling-convention.mlir
M mlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
M mlir/test/Conversion/StandardToLLVM/convert-funcs.mlir
M mlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
M mlir/test/Conversion/StandardToLLVM/invalid.mlir
M mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Conversion/VectorToROCDL/vector-to-rocdl.mlir
M mlir/test/Dialect/GPU/invalid.mlir
M mlir/test/Dialect/GPU/multiple-all-reduce.mlir
M mlir/test/Dialect/GPU/outlining.mlir
M mlir/test/Dialect/LLVMIR/func.mlir
M mlir/test/Dialect/LLVMIR/global.mlir
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Dialect/LLVMIR/nvvm.mlir
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Dialect/LLVMIR/roundtrip.mlir
M mlir/test/Dialect/LLVMIR/types.mlir
M mlir/test/Dialect/Linalg/llvm.mlir
M mlir/test/Target/avx512.mlir
M mlir/test/Target/import.ll
M mlir/test/Target/llvmir-intrinsics.mlir
M mlir/test/Target/llvmir-invalid.mlir
M mlir/test/Target/llvmir.mlir
M mlir/test/Target/nvvmir.mlir
M mlir/test/Target/rocdl.mlir
M mlir/test/lib/Dialect/LLVMIR/LLVMTypeTestDialect.cpp
M mlir/test/lib/Target/TestLLVMTypeTranslation.cpp
M mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
M mlir/test/mlir-cpu-runner/simple.mlir
Log Message:
-----------
[mlir] switch the modeling of LLVM types to use the new mechanism
A new first-party modeling for LLVM IR types in the LLVM dialect has been
developed in parallel to the existing modeling based on wrapping LLVM `Type *`
instances. It resolves the long-standing problem of modeling identified
structure types, including recursive structures, and enables future removal of
LLVMContext and related locking mechanisms from LLVMDialect.
This commit only switches the modeling by (a) renaming LLVMTypeNew to LLVMType,
(b) removing the old implementaiton of LLVMType, and (c) updating the tests. It
is intentionally minimal. Separate commits will remove the infrastructure built
for the transition and update API uses where appropriate.
Depends On D85020
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D85021
More information about the All-commits
mailing list