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

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 30 01:45:34 PDT 2021


sameerds updated this revision to Diff 362995.
sameerds added a comment.

The change was rebased, which may produce a very noisy diff relative to
the previous version of the change.

Replaced the bool ContainsIrreducible with a new enum that is always
consistent, irrespective of whether we are using legacy DA or new DA.
This also allows a command-line option to force "divergent" control
flow, so that we can test changes on the default target for better
coverage.


Repository:
  rG LLVM Github Monorepo

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

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.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106859.362995.patch
Type: text/x-patch
Size: 17029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210730/3e5e6223/attachment.bin>


More information about the llvm-commits mailing list