shiltian wrote: > Looks good to me, but the PR is still marked as a work in progress. Yeah, there is a large file `CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll` to be updated. https://github.com/llvm/llvm-project/pull/101593