[all-commits] [llvm/llvm-project] 6d2bbb: [MLIR][LLVM] Attach kernel metadata representation...
Victor Perez via All-commits
all-commits at lists.llvm.org
Fri Aug 2 02:53:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d2bbba187cd8fdc3e6e46cb753d4d9c6c276103
https://github.com/llvm/llvm-project/commit/6d2bbba187cd8fdc3e6e46cb753d4d9c6c276103
Author: Victor Perez <victor.perez at codeplay.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Dialect/LLVMIR/func.mlir
A mlir/test/Target/LLVMIR/Import/metadata-kernel.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[MLIR][LLVM] Attach kernel metadata representation to `llvm.func` (#101314)
Add optional attributes to `llvm.func` representing LLVM so-called
"kernel" metadata:
-
[`vec_type_hint`](https://clang.llvm.org/docs/AttributeReference.html#vec-type-hint)
-
[`work_group_size_hint`](https://clang.llvm.org/docs/AttributeReference.html#work-group-size-hint)
-
[`reqd_work_group_size`](https://clang.llvm.org/docs/AttributeReference.html#reqd-work-group-size)
-
[`intel_reqd_sub_group_size`](https://clang.llvm.org/docs/AttributeReference.html#intel-reqd-sub-group-size).
---------
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list