[PATCH] D129435: [Clang] Parse toolchain-specific offloading arguments directly

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 11 08:08:26 PDT 2022


jhuber6 added a comment.

In D129435#3642450 <https://reviews.llvm.org/D129435#3642450>, @yaxunl wrote:

> need a test

There's a test `clang/test/Driver/openmp-offload-gpu-new.c` already making sure that the following works, so this patch should maintain the same functionality we had before.

  clang input.c -fopenmp -fopenmp-targets=nvptx64,amdgcn -Xopenmp-target=nvptx64 --offload-arch=sm_70 -Xopenmp-target=amdgcn --offload-arch=gfx908




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129435



More information about the cfe-commits mailing list