aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2021-02-12 12:53:12 +0100
committerAlex Zinenko <zinenko@google.com>2021-02-12 14:09:24 +0100
commit4c4876c314577e253a198ca3868b26fd35ec8a6e (patch)
tree1780488e06c5fd3eb6b718fa3398e4926e44f86a /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent85fe5c93456776f313e25efaf49d3ae9e8703c86 (diff)
downloadllvm-4c4876c314577e253a198ca3868b26fd35ec8a6e.zip
llvm-4c4876c314577e253a198ca3868b26fd35ec8a6e.tar.gz
llvm-4c4876c314577e253a198ca3868b26fd35ec8a6e.tar.bz2
[mlir] Use target-specific GPU kernel attributes in lowering pipelines
Until now, the GPU translation to NVVM or ROCDL intrinsics relied on the presence of the generic `gpu.kernel` attribute to attach additional LLVM IR metadata to the relevant functions. This would be problematic if each dialect were to handle the conversion of its own options, which is the intended direction for the translation infrastructure. Introduce `nvvm.kernel` and `rocdl.kernel` in addition to `gpu.kernel` and base translation on these new attributes instead. Reviewed By: herhut Differential Revision: https://reviews.llvm.org/D96591
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions