[all-commits] [llvm/llvm-project] ffe836: [MLIR][XeGPU] Support pointer/dynamic-memref sourc...

Md Abdullah Shahneous Bari via All-commits all-commits at lists.llvm.org
Tue May 5 15:29:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffe836bce8f97998aa038763288a760ecc55eb4a
      https://github.com/llvm/llvm-project/commit/ffe836bce8f97998aa038763288a760ecc55eb4a
  Author: Md Abdullah Shahneous Bari <md.abdullah.shahneous.bari at intel.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUArrayLengthOptimization.cpp
    M mlir/test/Dialect/XeGPU/array-len-op-unit.mlir

  Log Message:
  -----------
  [MLIR][XeGPU] Support pointer/dynamic-memref sources in array-length optimization (#195872)

Extend `OptimizeCreateNdDescOp` to handle the two remaining
`create_nd_tdesc` source forms — `i64` pointer and dynamic-shape memref
— by forwarding the existing shape/strides operands through the general
builder. The memory region is unchanged by the rewrite; only the
`tensor_desc` view is narrowed along the FCD and tagged with
`array_length`.

Co-authored-by: Claude Opus 4.7 <noreply at anthropic.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