From 14e8c7f4198a1132b718718397719916a0f00617 Mon Sep 17 00:00:00 2001 From: Andrew Woloszyn Date: Thu, 27 Feb 2025 16:50:42 +0000 Subject: [PATCH] Increase size of the PotentialValuesState. When running the ElideTimepoints pass on a large program (llama 8b for example) we exhaust our state, and fail to elide timepoints. This significantly reduces the number of timepoints that end up in the waiting set in those cases. Signed-off-by: Andrew Woloszyn --- compiler/src/iree/compiler/Dialect/Util/Analysis/DFX/State.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/iree/compiler/Dialect/Util/Analysis/DFX/State.h b/compiler/src/iree/compiler/Dialect/Util/Analysis/DFX/State.h index 6338bcff93a9..75ac3c11e831 100644 --- a/compiler/src/iree/compiler/Dialect/Util/Analysis/DFX/State.h +++ b/compiler/src/iree/compiler/Dialect/Util/Analysis/DFX/State.h @@ -433,7 +433,7 @@ struct PotentialValuesState : AbstractState { } // Maximum number of potential values to be tracked. - static constexpr unsigned maxPotentialValues = 256; + static constexpr unsigned maxPotentialValues = 8192; // Returns empty set as the best state of potential values. static PotentialValuesState getBestState() {