[all-commits] [llvm/llvm-project] ed45c0: [MLIR][XeGPU] fix load/store/prefetch op offset ve...

Tuomas Kärnä via All-commits all-commits at lists.llvm.org
Tue Nov 4 06:22:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed45c0571eb35339f7c3562edbb3b27d67594acd
      https://github.com/llvm/llvm-project/commit/ed45c0571eb35339f7c3562edbb3b27d67594acd
  Author: Tuomas Kärnä <tuomas.karna at intel.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
    M mlir/test/Dialect/XeGPU/ops.mlir

  Log Message:
  -----------
  [MLIR][XeGPU] fix load/store/prefetch op offset verifier (#166137)

The verifier of `xegpu.{load/store/prefetch}_nd` op fails if `offset` a
mix of static and dynamic values, e.g. `offset = [0, %c0]`. In this case
the length of dynamic offsets is 1 and the check `offsetSize !=
tDescRank` (=2) fails. Instead, we should check the length of
`getMixedOffsets()`.



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