aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2021-02-16 10:26:45 +0530
committerSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2021-02-16 10:26:45 +0530
commit11bf7da64a11dbae422ff322f629be6950f9bfb7 (patch)
tree8c53430908cea38399661a09a67d330ec2c72363 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent71811048c0061c2ecf9aa6ce14c41f3f6ecf8aa9 (diff)
downloadllvm-11bf7da64a11dbae422ff322f629be6950f9bfb7.zip
llvm-11bf7da64a11dbae422ff322f629be6950f9bfb7.tar.gz
llvm-11bf7da64a11dbae422ff322f629be6950f9bfb7.tar.bz2
[NewPM] Introduce (GPU)DivergenceAnalysis in the new pass manager
The GPUDivergenceAnalysis is now renamed to just "DivergenceAnalysis" since there is no conflict with LegacyDivergenceAnalysis. In the legacy PM, this analysis can only be used through the legacy DA serving as a wrapper. It is now made available as a pass in the new PM, and has no relation with the legacy DA. The new DA currently cannot handle irreducible control flow; its presence can cause the analysis to run indefinitely. The analysis is now modified to detect this and report all instructions in the function as divergent. This is super conservative, but allows the analysis to be used without hanging the compiler. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D96615
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions