[PATCH] D50433: A New Divergence Analysis for LLVM
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 23 06:13:49 PDT 2018
xbolva00 added inline comments.
================
Comment at: lib/Analysis/DivergenceAnalysis.cpp:148
+ loop != observingLoop; loop = loop->getParentLoop()) {
+ if (divergentLoops.count(loop))
+ return true;
----------------
Try to use find. See https://reviews.llvm.org/D51054
Repository:
rL LLVM
https://reviews.llvm.org/D50433
More information about the llvm-commits
mailing list