[PATCH] D129745: Fix a stack overflow in ScalarEvolution.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 03:40:03 PDT 2022


fhahn added inline comments.


================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:7318
+        if (NewBO->Op && (NewBO->IsNSW || NewBO->IsNUW)) {
+          if (auto *I = dyn_cast<Instruction>(NewBO->Op);
+              I && programUndefinedIfPoison(I)) {
----------------
frasercrmck wrote:
> Correct me if I'm wrong but we're not yet able to use C++17 features. This is causing a build bot failure: https://lab.llvm.org/buildbot#builders/77/builds/20381
@jreiffers what's the status of this? Does the commit need reverting?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129745



More information about the llvm-commits mailing list