[all-commits] [llvm/llvm-project] 0a3430: [MLIR][Conversion] Add convert-xevm-to-llvm pass. ...

Sang Ik Lee via All-commits all-commits at lists.llvm.org
Fri Jul 11 11:38:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a343098b0ea300b75f16596db2dc32a55007546
      https://github.com/llvm/llvm-project/commit/0a343098b0ea300b75f16596db2dc32a55007546
  Author: Sang Ik Lee <sang.ik.lee at intel.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    A mlir/include/mlir/Conversion/XeVMToLLVM/XeVMToLLVM.h
    M mlir/include/mlir/InitAllExtensions.h
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/XeVMToLLVM/CMakeLists.txt
    A mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
    A mlir/test/Conversion/XeVMToLLVM/xevm-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][Conversion] Add convert-xevm-to-llvm pass. [Re-attempt] (#148103)

Although XeVM is an LLVM extension dialect,
SPIR-V backend relies on [function
calls](https://llvm.org/docs/SPIRVUsage.html#instructions-as-function-calls)
instead of defining LLVM intrinsics to represent SPIR-V instructions.
convert-xevm-to-llvm pass lowers xevm ops to function declarations and
calls using the above naming convention.
In the future, most part of the pass should be replaced with llvmBuilder
and handled as part of translation to LLVM instead.

---------
Co-authored-by: Artem Kroviakov <artem.kroviakov 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