[Openmp-commits] [PATCH] D102014: [libomptarget][amdgpu][nfc] Remove dead code from amdgpu plugin

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu May 6 12:28:43 PDT 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: ronlieb, pdhaliwal, saiislam.
Herald added subscribers: kerbowa, jfb, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
JonChesterfield requested review of this revision.
Herald added subscribers: openmp-commits, wdng.
Herald added a project: OpenMP.

[libomptarget][amdgpu][nfc] Remove dead code from amdgpu plugin

Drops an enum that was identical to a HSA one, localises some functions where
they were only called from one TU. Covers everything internalize + adce can
identify as dead, except for msgpack::dump which is useful when debugging.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102014

Files:
  openmp/libomptarget/plugins/amdgpu/impl/atmi.h
  openmp/libomptarget/plugins/amdgpu/impl/data.cpp
  openmp/libomptarget/plugins/amdgpu/impl/internal.h
  openmp/libomptarget/plugins/amdgpu/impl/system.cpp
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102014.343475.patch
Type: text/x-patch
Size: 7282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210506/fdaa747e/attachment.bin>


More information about the Openmp-commits mailing list