I have been working on replacing the LegacyDivergenceAnalysis in AMDGPUUnifyDivergentExitNodes with the new uniformity analysis. Two of the tests reported a failure in SIAnnotateControlFlow because some basic blocks were reported as not uniformly reachable with the use of uniformity analysis. The tests are:
If UA finds uniformity where LegacyDA does not, that’s a good thing, right? The reasonable way forward will be dump both analyses and compare which values are marked divergent/uniform in each.