https://github.com/banach-space approved this pull request. LGTM, thanks! I would add block comments to separate different targets and avoid people mixing code for different architectures. https://github.com/llvm/llvm-project/pull/223425