[all-commits] [llvm/llvm-project] 944b25: [OpenMP] Make Xopenmp-target args compile-only to ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Apr 19 05:43:19 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 944b25aee393ceb31d847fb4d3b98695852eecc9
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td

  Log Message:
  [OpenMP] Make Xopenmp-target args compile-only to silence warnings

Previously we needed the `Xopenmp-target=` option during the linking
phase so the old offloading driver knew which items to extract and link
for the device. Now that the new driver has become the default this is
no longer necessary and will cause a warning to be emitted for the
unused argument. This should be silenced to avoid noise.

More information about the All-commits mailing list