[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:00 PDT 2024
================
@@ -180,6 +180,19 @@ namespace {
}
};
+ IntrinsicInst *getConevrgenceEntryIfAny(BasicBlock &BB) {
+ auto *I = BB.getFirstNonPHI();
+ while (I) {
+ if (auto *IntrinsicCall = dyn_cast<IntrinsicInst>(I)) {
----------------
s-perron wrote:
I did not know about that.
https://github.com/llvm/llvm-project/pull/112728
More information about the llvm-commits
mailing list