[all-commits] [llvm/llvm-project] 9e7b6f: [mlir] Adopt `ConvertToLLVMPatternInterface` GpuTo...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Wed Nov 29 11:38:07 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9e7b6f46ba13ef0bac72e18b425aed37f576fb1e
https://github.com/llvm/llvm-project/commit/9e7b6f46ba13ef0bac72e18b425aed37f576fb1e
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2023-11-29 (Wed, 29 Nov 2023)
Changed paths:
M mlir/include/mlir/Conversion/ConvertToLLVM/ToLLVMPass.h
M mlir/lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp
M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
Log Message:
-----------
[mlir] Adopt `ConvertToLLVMPatternInterface` GpuToLLVMConversionPass to align with `convert-to-llvm` (#73761)
This is a follow-up to the introduction of `convert-to-llvm`: it is
supposed to be a unifying pass through the
`ConvertToLLVMPatternInterface`, but some specific conversion (like the
GPU target) aren't vanilla LLVM target. Instead they need extra
customizations that are specific to LLVM-on-GPUs and our custom runtime
wrappers.
This change make the GpuToLLVMConversionPass just as pluggable as the
`convert-to-llvm` by using the same mechanism.
More information about the All-commits
mailing list