diff options
author | Simon Moll <simon.moll@emea.nec.com> | 2020-09-30 17:10:44 +0200 |
---|---|---|
committer | Simon Moll <simon.moll@emea.nec.com> | 2020-09-30 17:36:26 +0200 |
commit | 05ae04c396519cca9ef50d3b9cafb0cd9c87d1d7 (patch) | |
tree | c81bb269d2d9c96d736ddefb1ed89ac53c0ae0aa /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d6de40f8865e2c016731f9b63d8a0a218ce1b74f (diff) | |
download | llvm-05ae04c396519cca9ef50d3b9cafb0cd9c87d1d7.zip llvm-05ae04c396519cca9ef50d3b9cafb0cd9c87d1d7.tar.gz llvm-05ae04c396519cca9ef50d3b9cafb0cd9c87d1d7.tar.bz2 |
[DA][SDA] SyncDependenceAnalysis re-write
This patch achieves two things:
1. It breaks up the `join_blocks` interface between the SDA to the DA to
return two separate sets for divergent loops exits and divergent,
disjoint path joins.
2. It updates the SDA algorithm to run in O(n) time and improves the
precision on divergent loop exits.
This fixes `https://bugs.llvm.org/show_bug.cgi?id=46372` (by virtue of
the improved `join_blocks` interface) and revealed an imprecise expected
result in the `Analysis/DivergenceAnalysis/AMDGPU/hidden_loopdiverge.ll`
test.
Reviewed By: sameerds
Differential Revision: https://reviews.llvm.org/D84413
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions