aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCharitha Saumya <136391709+charithaintc@users.noreply.github.com>2025-03-14 12:38:36 -0700
committerGitHub <noreply@github.com>2025-03-14 12:38:36 -0700
commitfd24805c8e67c921991e82463bdc23563caf744e (patch)
tree16e22e5e20a6ac1bfd8489f41fb677c0734f2d69 /flang/lib/Frontend/CompilerInvocation.cpp
parent8bceb777a14017690ec8ea3029ad8932f2230eaf (diff)
downloadllvm-fd24805c8e67c921991e82463bdc23563caf744e.zip
llvm-fd24805c8e67c921991e82463bdc23563caf744e.tar.gz
llvm-fd24805c8e67c921991e82463bdc23563caf744e.tar.bz2
Reapply [mlir][xegpu] Add XeGPU subgroup map propagation analysis for XeGPU SIMT distribution. (#131380)
Originally introduced in #130240 and reverted in #131364 Reproduced the issue locally in Linux by doing a shared lib build. Fixes including adding the missing LINK_LIBS. **Original commit message:** This PR adds the SG map propagation step of the XeGPU SIMT distribution. SG map propagation is a sparse backward dataflow analysis that propagate the sg_map backward starting from the operands of certain operations (DPAS, store etc.). This is the first step of XeGPU subgroup distribution. This analysis result is used to attach layout information to each XeGPU SIMD subgroup op. The lowering patterns in XeGPUSubgroupDistribute will consume these layout info to distribute SIMD ops into SIMT ops that work on work-item level data fragments. Summary of Lowering XeGPU SIMD -> SIMT Subgroup map propagation (This PR) Attach sg_map to each op in move all ops inside gpu.warp_execute_on_lane0 region. Distribute each op using sg_map Additional legalization steps to align more with Xe HW.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions