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

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 28 14:21:19 PDT 2022


hiraditya added inline comments.


================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:6437
+    for (const SCEV *P :
+         reverse(make_range(WorkList.begin() + 1, WorkList.end()))) {
+      getRangeRef(P, SignHint);
----------------
Can the traversal order be preserved if we populated the Worklist with DFS traversal for operands starting with `S`?


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