[all-commits] [llvm/llvm-project] 349f8d: [flang][OpenMP] Skip runtime mapping with no offlo...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Jun 20 06:09:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 349f8d67d4ee2e7a6045b02f6aea0a72165404b1
      https://github.com/llvm/llvm-project/commit/349f8d67d4ee2e7a6045b02f6aea0a72165404b1
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    A flang/test/Lower/ignore-target-data.f90
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
    M mlir/test/Target/LLVMIR/omptargetdata-nowait-llvm.mlir
    M mlir/test/Target/LLVMIR/openmp-data-target-device.mlir

  Log Message:
  -----------
  [flang][OpenMP] Skip runtime mapping with no offload targets (#144534)

When no offload targets are specified flang will ignore "target"
constructs, but not "target data" constructs. This patch makes the
behavior consistent across all offload-related operations.

While ignoring "target" may produce semantically incorrect code, it may
still be a useful debugging tool.



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