[PATCH] D144382: [SCEV] Increase FoldID bits size cover common cases.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 00:43:27 PST 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGeddecd3ade5c: [SCEV] Increase FoldID bits size cover common cases. (authored by fhahn).

Changed prior to commit:
  https://reviews.llvm.org/D144382?vs=498801&id=500099#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144382

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h


Index: llvm/include/llvm/Analysis/ScalarEvolution.h
===================================================================
--- llvm/include/llvm/Analysis/ScalarEvolution.h
+++ llvm/include/llvm/Analysis/ScalarEvolution.h
@@ -1297,7 +1297,7 @@
   bool loopIsFiniteByAssumption(const Loop *L);
 
   class FoldID {
-    SmallVector<unsigned, 4> Bits;
+    SmallVector<unsigned, 5> Bits;
 
   public:
     void addInteger(unsigned long I) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144382.500099.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230224/ae56fc19/attachment.bin>


More information about the llvm-commits mailing list