[all-commits] [llvm/llvm-project] dd5165: [mlir] replace LLVM dialect float types with built...
ftynse via All-commits
all-commits at lists.llvm.org
Fri Jan 8 08:38:35 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dd5165a920f66268ee509af31fe84efedacdfbf9
https://github.com/llvm/llvm-project/commit/dd5165a920f66268ee509af31fe84efedacdfbf9
Author: Alex Zinenko <zinenko at google.com>
Date: 2021-01-08 (Fri, 08 Jan 2021)
Changed paths:
M mlir/docs/ConversionToLLVMDialect.md
M mlir/docs/Dialects/LLVM.md
M mlir/docs/Dialects/Linalg.md
M mlir/docs/Dialects/Vector.md
M mlir/docs/LLVMDialectMemRefConvention.md
M mlir/docs/SPIRVToLLVMDialectConversion.md
M mlir/docs/Tutorials/Toy/Ch-6.md
M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
M mlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-fp.mlir
M mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
M mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
M mlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
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/NVVMDialect.cpp
M mlir/lib/ExecutionEngine/JitRunner.cpp
M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
M mlir/lib/Target/LLVMIR/TypeTranslation.cpp
M mlir/test/Conversion/AsyncToLLVM/convert-to-llvm.mlir
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/GPUToROCDL/gpu-to-rocdl.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/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-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/glsl-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/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/standard-to-llvm.mlir
M mlir/test/Conversion/VectorToLLVM/vector-mask-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/LLVMIR/dialect-cast.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-invalid.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-types.mlir
M mlir/test/Target/llvmir.mlir
M mlir/test/Target/nvvmir.mlir
M mlir/test/Target/openmp-llvm.mlir
M mlir/test/Target/rocdl.mlir
M mlir/test/mlir-cpu-runner/simple.mlir
Log Message:
-----------
[mlir] replace LLVM dialect float types with built-ins
Continue the convergence between LLVM dialect and built-in types by replacing
the bfloat, half, float and double LLVM dialect types with their built-in
counterparts. At the API level, this is a direct replacement. At the syntax
level, we change the keywords to `bf16`, `f16`, `f32` and `f64`, respectively,
to be compatible with the built-in type syntax. The old keywords can still be
parsed but produce a deprecation warning and will be eventually removed.
Depends On D94178
Reviewed By: mehdi_amini, silvas, antiagainst
Differential Revision: https://reviews.llvm.org/D94179
More information about the All-commits
mailing list