[all-commits] [llvm/llvm-project] 7564cf: [Flang][Driver] Fix -foffload-device misspelling (...

Michael Kruse via All-commits all-commits at lists.llvm.org
Sat Jun 6 06:33:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7564cffdad802e80a595b2b3ce032fab7656df35
      https://github.com/llvm/llvm-project/commit/7564cffdad802e80a595b2b3ce032fab7656df35
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2026-06-06 (Sat, 06 Jun 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/Flang.cpp
    A flang/test/Driver/offload-device.f90

  Log Message:
  -----------
  [Flang][Driver] Fix -foffload-device misspelling (#201857)

#200863 added a new `-foffload-device` argument for informing the
frontend that it compiling for the device-side (and as a consequence
must not overwrite any module files compiled for the host), but the
driver was mistakenly adding `-offload-device`.

Also fix the condition and add a regression test for the driver.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list