[PATCH] D106859: [Sink] allow sinking convergent operations across uniform branches

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 27 03:32:36 PDT 2021


sameerds created this revision.
Herald added subscribers: kerbowa, hiraditya, nhaehnle, jvesely.
sameerds requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is a preparatory patch for fixing the semantics of attribute
"convergent" in terms of sets of threads determined by divergent
control flow.

See https://reviews.llvm.org/D104504 for the latest discussion.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106859

Files:
  llvm/include/llvm/Analysis/DivergenceAnalysis.h
  llvm/include/llvm/Analysis/LegacyDivergenceAnalysis.h
  llvm/lib/Analysis/DivergenceAnalysis.cpp
  llvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
  llvm/lib/Transforms/Scalar/Sink.cpp
  llvm/test/Analysis/DivergenceAnalysis/AMDGPU/irreducible.ll
  llvm/test/Transforms/Sink/convergent-divergent.ll
  llvm/test/Transforms/Sink/convergent-uniform.ll
  llvm/test/Transforms/Sink/convergent.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106859.361965.patch
Type: text/x-patch
Size: 15693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210727/fc9c71f0/attachment.bin>


More information about the llvm-commits mailing list