[all-commits] [llvm/llvm-project] f3cd22: [OpenMP][OpenMPIRBuilder] Add initial changes for ...

Nick Sarnie via All-commits all-commits at lists.llvm.org
Mon Feb 10 08:17:03 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3cd2238383f695c719e7eab6aebec828781ec91
      https://github.com/llvm/llvm-project/commit/f3cd2238383f695c719e7eab6aebec828781ec91
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/OpenMP/spirv_target_codegen_basic.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [OpenMP][OpenMPIRBuilder] Add initial changes for SPIR-V target frontend support (#125920)

As Intel is working to add support for SPIR-V OpenMP device offloading
in upstream clang/liboffload, we need to modify the OpenMP frontend to
allow SPIR-V as well as generate valid IR for SPIR-V. For example, we
need the frontend to generate code to define and interact with device
globals used in the DeviceRTL.

This is the beginning of what I expect will be (many) other changes, but
let's get started with something simple.

---------

Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>



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