mirror-llvm-project/mlir
Jianhui Li 007c684208
[mlir][xegpu] Add xegpu.lane_shuffle op (#210777)
Add a lane-level XeGPU operation that re-distributes a subgroup's
fragments across its lanes without changing the element type.

The op takes a 1D vector — the fragment held by one lane — and returns a
fragment of the same type. A pack/unpack mode selects the direction:
viewing the subgroup as an S x N element grid (S = subgroup size, N =
elements per lane), pack moves element j of lane i from logical position
j*S + i to i*N + j, so a lane's elements end up at consecutive
positions; unpack is the reverse.
  
This implements xegpu.convert_layout semantics at the lane level when
lane_layout is unchanged but lane_data differs.
  
assisted-by-claude

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-01 11:40:14 -07:00
..
benchmark/python
cmake/modules [MLIR][Python] Avoid printing an unset nanobind include directory (#211240) 2026-07-23 01:52:03 +05:30
docs [NFC][mlir][nvvm] move OptimizeForNVVM to its own directory (#206520) 2026-06-29 22:17:29 +00:00
examples [mlir][python] Set a static version in the standalone example pyproject.toml (#207860) 2026-07-06 16:26:54 -07:00
include [mlir][xegpu] Add xegpu.lane_shuffle op (#210777) 2026-08-01 11:40:14 -07:00
lib [mlir][xegpu] Add xegpu.lane_shuffle op (#210777) 2026-08-01 11:40:14 -07:00
python [MLIR][APFloat] Add Type definitions for UE5M3 type (#212712) 2026-07-30 18:45:58 +05:30
test [mlir][xegpu] Add xegpu.lane_shuffle op (#210777) 2026-08-01 11:40:14 -07:00
tools [mlir] Honor IntrHasSideEffects on IntrNoMem LLVM intrinsics (#212760) 2026-07-30 14:32:20 +02:00
unittests [MLIR] Allow recovering from semi-affine sets in FlatLinearValueConst… (#212346) 2026-07-27 22:26:34 +00:00
utils [MLIR][APFloat] Add Type definitions for UE5M3 type (#212712) 2026-07-30 18:45:58 +05:30
.clang-format
.clang-tidy [MLIR][NFC] Ignore clang-tidy modernize-use-using check in C code (#180326) 2026-02-09 13:24:08 +08:00
CMakeLists.txt [CMake] Warn when the version of CMake is older than 3.31.0 (#204203) 2026-06-29 11:16:27 -07:00
LICENSE.TXT
Maintainers.md [mlir][x86] Move AMX dialect into X86 dialect (#183717) 2026-03-02 11:47:30 +01:00
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.