[all-commits] [llvm/llvm-project] 703951: [OpenMP] Fix convention of SPIRV outline functions...

Alex Duran via All-commits all-commits at lists.llvm.org
Thu Apr 16 13:10:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7039515e0cb5ed48ede8634a7fc58df6f6f93d2e
      https://github.com/llvm/llvm-project/commit/7039515e0cb5ed48ede8634a7fc58df6f6f93d2e
  Author: Alex Duran <alejandro.duran at intel.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/test/OpenMP/metadirective_device_arch_codegen.cpp
    M offload/test/offloading/ompx_coords.c

  Log Message:
  -----------
  [OpenMP] Fix convention of SPIRV outline functions (#192450)

When creating an outline function for device code we're not setting the
right calling convention when the target is SPIRV. This results in the
calls to the function to be removed by the InstCombine pass as it thinks
is not callable.



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