[PATCH] D151082: [GuardUtils] Allow intermmediate blocks between widenable branch and deopt block

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 06:02:20 PDT 2023


nikic added inline comments.


================
Comment at: llvm/lib/Analysis/GuardUtils.cpp:42
+    }
+  } while (DeoptBB = DeoptBB->getUniqueSuccessor());
   return false;
----------------
Could cause an infinite loop if DeoptBB is part of a trivial cycle?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151082/new/

https://reviews.llvm.org/D151082



More information about the llvm-commits mailing list