diff options
author | Jay Foad <jay.foad@amd.com> | 2025-05-30 16:32:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 16:32:56 +0100 |
commit | f8d3bdf6a2720b68a32c4588d5a2a8840fc882d3 (patch) | |
tree | 001967081dda81a4232ade639755eb7da4e3e6a2 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | ccb6b0dafda22360edea8dbf515f78db3c31e807 (diff) | |
download | llvm-f8d3bdf6a2720b68a32c4588d5a2a8840fc882d3.zip llvm-f8d3bdf6a2720b68a32c4588d5a2a8840fc882d3.tar.gz llvm-f8d3bdf6a2720b68a32c4588d5a2a8840fc882d3.tar.bz2 |
[AMDGPU] Fix SIFixSGPRCopies handling of STRICT_WWM and friends (#142122)
SIFixSGPRCopies handled STRICT_WWM (and similar WWM/WQM pseudos) like a
COPY. In particular, if the source was a VGPR and the result was an
SGPR, lowerVGPR2SGPRCopies would replace it with a readfirstlane,
erasing the original pseudo and hence sabotaging the WWM region marking
which is supposed to be performed by SIWholeQuadMode.
Fix this by handling it more like INSERT_SUBREG, PHI and REG_SEQUENCE:
if the source is a VGPR then move the result to a VGPR, and keep the
pseudo.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions