[PATCH] D52944: AMDGPU: Add llvm.amdgcn.ds.ordered.add & swap
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 10 02:03:31 PDT 2018
nhaehnle added a comment.
In https://reviews.llvm.org/D52944#1259919, @arsenm wrote:
> Does this need to be marked as isSourceOfDivergence?
Now that you mention it, yes, even though it's for stupid reasons: I believe the ds_ordered_count instruction executes only in a single lane, so it's intuitively a uniform operation; however, it returns its result only in lane 0, so it's formally non-uniform.
Repository:
rL LLVM
https://reviews.llvm.org/D52944
More information about the llvm-commits
mailing list