[llvm] [LoopUnroll] Consider convergence control tokens when unrolling (PR #91715)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 02:04:35 PDT 2024


================
@@ -45,6 +46,9 @@ struct CodeMetrics {
   /// True if this function contains a call to a convergent function.
   bool convergent = false;
 
+  /// True if the code contains an uncontrolled convergent operation.
+  bool convergentUncontrolled = false;
----------------
arsenm wrote:

Maybe combine these into a ConvergenceType field?

https://github.com/llvm/llvm-project/pull/91715


More information about the llvm-commits mailing list