[all-commits] [llvm/llvm-project] 3a6239: [OpenMP] Fix logic error when building offloading ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Sep 6 11:57:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a623999f3ff96843f97ee300e0c94b8cbc88a9f
      https://github.com/llvm/llvm-project/commit/3a623999f3ff96843f97ee300e0c94b8cbc88a9f
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp

  Log Message:
  -----------
  [OpenMP] Fix logic error when building offloading applications

Summary:
A previous patch removed support for the `-fopenmp-new-driver` and
accidentally used the `isHostOffloading` flag instead of
`isDeviceOffloading` which lead to some build errors when compiling for
the offloading device. This patch addresses that.




More information about the All-commits mailing list