Files
clang-p2996/llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
Jay Foad e4284a7c70 [AMDGPU] 4-align SGPR triples
Previously SGPR triples like s[3:5] were aligned on a 3-SGPR boundary
which has no basis in hardware.

Aligning them on a 4-SGPR boundary is at least justified by the
architecture reference guide which says: "Quad-alignment of SGPRs is
required for operation on more than 64-bits".

Currently there are no instructions that take SGPR triples as operands
so the issue is latent.

Differential Revision: https://reviews.llvm.org/D151463
2023-05-26 08:06:25 +01:00

66 KiB