[all-commits] [llvm/llvm-project] 2301e1: [Clang][Frontend] Change help text for --offload-h...

Anton Rydahl via All-commits all-commits at lists.llvm.org
Tue Aug 1 10:24:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2301e13269d52dbed9b760615d9f328ca1cf72f5
      https://github.com/llvm/llvm-project/commit/2301e13269d52dbed9b760615d9f328ca1cf72f5
  Author: Anton Rydahl <rydahl2610 at gmail.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90

  Log Message:
  -----------
  [Clang][Frontend] Change help text for --offload-host-device

I believe the help text for the flag `--offload-host-device` is wrong. Currently, the help text says "Only compile for the offloading host." but the flag alias with `--cuda-compile-host-device` which
has the help text "Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations."

Fixes https://github.com/llvm/llvm-project/issues/64243

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D156641




More information about the All-commits mailing list