[PATCH] D103770: Injection of kernel features into the LLVM IR during the OpenMP transform stage

Konstantin Sidorov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 6 10:21:51 PDT 2021


ksidorov created this revision.
ksidorov added a reviewer: jdoerfert.
Herald added subscribers: ormris, guansong, hiraditya, yaxunl.
ksidorov requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added subscribers: llvm-commits, bbn, sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

This patch contains:

- the code for retrieving & injecting features of the kernel into the LLVM IR as the global [* x i64] variable,
- the regression test that checks the injected feature vectors for (a) empty kernel and (b) matrix multiplication kernel.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103770

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/gpu_kernel_features.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103770.350119.patch
Type: text/x-patch
Size: 10009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210606/6b298970/attachment.bin>


More information about the llvm-commits mailing list