[all-commits] [llvm/llvm-project] e9da5f: [OpenMP] Fix target data region codegen being omit...

Akash Banerjee via All-commits all-commits at lists.llvm.org
Tue Mar 19 06:04:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9da5f0083d12a7284c780e916c17b6a2785933e
      https://github.com/llvm/llvm-project/commit/e9da5f0083d12a7284c780e916c17b6a2785933e
  Author: Akash Banerjee <akash.banerjee at amd.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    A openmp/libomptarget/test/offloading/fortran/target-nested-target-data.f90

  Log Message:
  -----------
  [OpenMP] Fix target data region codegen being omitted for device pass (#85218)

This patch enables the BodyCodeGen callback to still trigger for the
TargetData nested region during the device pass. There maybe Target code
nested within the TargetData region for which this is required.

Also add tests for the same.



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