[PATCH] D146523: [AMDGPU]: Add new intrinsic llvm.amdgcn.convergent.copy

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 08:44:05 PDT 2023


foad added a comment.

In D146523#4209735 <https://reviews.llvm.org/D146523#4209735>, @pravinjagtap wrote:

> In D146523#4209684 <https://reviews.llvm.org/D146523#4209684>, @foad wrote:
>
>> What does this do and what is it for?
>
> This convergent copy intrinsic will acts here as a form of barrier which makes sure that all the active lanes  of VGPR (i.e. result of intrinsic) is computed before its use.

Can you give an example?


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

https://reviews.llvm.org/D146523



More information about the llvm-commits mailing list