[PATCH] D63216: [AMDGPU] ImmArg and SourceOfDivergence for permlane/dpp

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 09:13:56 PDT 2019


arsenm added a comment.

Needs tests in test/Analysis/DivergenceAnalysis, and test/Verifier/AMDGPU/intrinsic-immarg.ll



================
Comment at: lib/Target/AMDGPU/AMDGPUSearchableTables.td:102-104
+def : SourceOfDivergence<int_amdgcn_mov_dpp>;
+def : SourceOfDivergence<int_amdgcn_mov_dpp8>;
+def : SourceOfDivergence<int_amdgcn_update_dpp>;
----------------
I'm not 100% sure on DPP. If it's called with uniform arguments, even though you read from another lane, every lane should read the same value? Is this not the case with some of the source types?


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

https://reviews.llvm.org/D63216





More information about the llvm-commits mailing list