[PATCH] D51491: [DA] DivergenceAnalysis for unstructured, reducible CFGs

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 10 02:35:41 PDT 2018


nhaehnle accepted this revision.
nhaehnle added a comment.
This revision is now accepted and ready to land.

Sorry it took so long, but I finally got to swap this back in. Looks good to me.



================
Comment at: lib/Analysis/DivergenceAnalysis.cpp:29
+// This file defines divergence analysis which computes a conservative but
+// non-trivial approximation of all divergent branches in a GPU program. This
+// implementation is derived from the Vectorization Analysis of the Region
----------------
Not just branches, but also values.

In AMDGPU, we actually use that information to drive instruction selection.


Repository:
  rL LLVM

https://reviews.llvm.org/D51491





More information about the llvm-commits mailing list