[PATCH] D134423: [AMDGPU] Fix vgpr2sgpr copy analysis to check scalar operands of buffer instructions use scalar registers.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 02:42:48 PST 2022


foad added a comment.

In D134423#3912577 <https://reviews.llvm.org/D134423#3912577>, @alex-t wrote:

> BTW, if %5 is divergent we have a bug in ISel. We now should not have any V2S copy with the divergent source.

Look at the MIR that @skc7 quoted. %5 is divergent - it's copied from a vgpr function argument.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134423/new/

https://reviews.llvm.org/D134423



More information about the llvm-commits mailing list