akroviakov wrote: User-supplied sg layouts is the expected use case, which is already satisfied by this PR. The topic of default sg layout creation is still under discussion and will be addressed by a follow-up PR. https://github.com/llvm/llvm-project/pull/170879