[llvm] [OPT] Search whole BB for convergence token. (PR #112728)

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 08:30:55 PDT 2024


================
@@ -180,6 +180,19 @@ namespace {
     }
   };
 
+  IntrinsicInst *getConevrgenceEntryIfAny(BasicBlock &BB) {
----------------
s-perron wrote:

I had to function in the anonymous namespace for that reason. I made the function a static function, and moved it out of the namespace.

I also fixed the spelling. Thanks.

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


More information about the llvm-commits mailing list