[PATCH] D124220: [OpenMP] Add options to only compile the host or device when offloading

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 26 07:38:02 PDT 2022


jhuber6 updated this revision to Diff 425214.
jhuber6 added a comment.

Small change, returning an empty action type should let us stop without an extra check.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124220

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/Driver.cpp
  clang/test/Driver/openmp-offload-gpu-new.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124220.425214.patch
Type: text/x-patch
Size: 5771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220426/81257b3d/attachment.bin>


More information about the cfe-commits mailing list