akroviakov wrote: I see the confusion. `getSgLayoutCandidates` exists in `XeGPULayoutImpl.cpp` and `XeGPUPropagateLayout.cpp`. The propagate version is 2D and appears to be dead code. https://github.com/llvm/llvm-project/pull/205955