[PATCH] D59042: [SDA] Use IPD outside the loop as divergence bound

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 12:52:43 PST 2019


simoll created this revision.
simoll added a reviewer: nhaehnle.
Herald added subscribers: llvm-commits, jvesely.
Herald added a project: LLVM.

The immediate post dominator of the loop header may be part of the divergent loop.
Since this /was/ the divergence propagation bound the SDA would not detect joins of divergent paths outside the loop.


Repository:
  rL LLVM

https://reviews.llvm.org/D59042

Files:
  lib/Analysis/SyncDependenceAnalysis.cpp
  test/Analysis/DivergenceAnalysis/AMDGPU/hidden_diverge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59042.189566.patch
Type: text/x-patch
Size: 4391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190306/5d980ba5/attachment.bin>


More information about the llvm-commits mailing list