[all-commits] [llvm/llvm-project] 17ff42: [mlir][XeGPUToXeVM][XeVMToLLVM] Update the default...

Md Abdullah Shahneous Bari via All-commits all-commits at lists.llvm.org
Wed Apr 8 16:17:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17ff42ff9bf301e465f68acd79c4c74f25962fd0
      https://github.com/llvm/llvm-project/commit/17ff42ff9bf301e465f68acd79c4c74f25962fd0
  Author: Md Abdullah Shahneous Bari <md.abdullah.shahneous.bari at intel.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/XeVMOps.td
    M mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
    M mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
    M mlir/test/Conversion/XeGPUToXeVM/loadstore_1d.mlir
    M mlir/test/Conversion/XeGPUToXeVM/loadstore_nd.mlir
    M mlir/test/Conversion/XeGPUToXeVM/loadstore_nd_sub_byte.mlir
    M mlir/test/Conversion/XeGPUToXeVM/loadstoreprefetch.mlir
    M mlir/test/Conversion/XeGPUToXeVM/prefetch_nd.mlir
    M mlir/test/Conversion/XeGPUToXeVM/prefetch_nd_sub_byte.mlir
    M mlir/test/Conversion/XeVMToLLVM/xevm-to-llvm.mlir

  Log Message:
  -----------
  [mlir][XeGPUToXeVM][XeVMToLLVM] Update the default cache-control values. (#190954)

In XeGPU, user can provide cache control value for only certain levels,
they do not have to provide cache-control value for all levels. However,
XeVM requires that each cache level must have a cache-control value. To
solve this issue, XeGPUToXeVM conversion pass adds default value to
cache-levels that does not have a user-provided cache-control value.

This PR updates this process in the following way:
- If no cache-control hint is provided for any levels, use system
default (USE_DEFAULT).
- If any of the levels has at least one cache-control value, use certain
default value for other levels.

If system default (USE_DEFAULT) is used, no cache-control metadata
annotation is necessary.



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