[PATCH] D149251: [SCEV] Replace NumTripCountsComputed stat with NumExitCountsComputed

Dmitry Makogon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 03:26:56 PDT 2023


dmakogon added inline comments.


================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:8687
       ExitCounts.emplace_back(ExitBB, EL);
-    else
+      ++NumExitCountsComputed;
+    }
----------------
nikic wrote:
> Should we count SymbolicMax or Exact as a "computed" exit count? The previous code was using the exact BECount.
Yeah, we shouldn't. Fixed


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

https://reviews.llvm.org/D149251



More information about the llvm-commits mailing list