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

Sang Ik Lee via All-commits all-commits at lists.llvm.org
Thu Jul 10 16:04:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76eead1bd700e165c7dcfcb6a0998d31b1782e68
      https://github.com/llvm/llvm-project/commit/76eead1bd700e165c7dcfcb6a0998d31b1782e68
  Author: Sang Ik Lee <sang.ik.lee at intel.com>
  Date:   2025-07-10 (Thu, 10 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. (#147375)

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