[PATCH] D94961: [OpenMP] Add OpenMP offloading toolchain for AMDGPU

Pushpinder Singh via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 02:39:17 PST 2021


pdhaliwal updated this revision to Diff 320722.
pdhaliwal added a comment.

Addressed review comments.

- Combined the toolchain creation logic for nvptx and amdgcn
- Replaced -Xopenmp-target with -emit-llvm-bc inside AMDGPUOpenMP.cpp
- Removed opt from pipeline


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94961/new/

https://reviews.llvm.org/D94961

Files:
  clang/lib/Driver/CMakeLists.txt
  clang/lib/Driver/Driver.cpp
  clang/lib/Driver/ToolChains/AMDGPU.h
  clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
  clang/lib/Driver/ToolChains/AMDGPUOpenMP.h
  clang/lib/Driver/ToolChains/HIP.h
  clang/test/Driver/amdgpu-openmp-toolchain.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94961.320722.patch
Type: text/x-patch
Size: 22367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210202/6123b86f/attachment-0001.bin>


More information about the cfe-commits mailing list