[PATCH] D130728: [SCEV] Iteratively compute ranges for deeply nested expressions.

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 03:34:41 PDT 2022


mkazantsev added a comment.

I'm not sure if the threshold is ever reached in the tests. Could you pls add a test that

- runs default computation
- runs iterative computation (with cut limit)
- shows that the results don't differ?



================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:6449
+      return;
+    if (isa<SCEVNAryExpr>(Expr))
+      WorkList.push_back(Expr);
----------------
What about div?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130728



More information about the llvm-commits mailing list