From f332a263c1bc2d4f67b36bc252925448e1e09d23 Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Fri, 22 Nov 2024 12:20:21 -0500 Subject: [PATCH] Oops --- src/BoundsInference.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BoundsInference.cpp b/src/BoundsInference.cpp index cc83b5f0a042..724adb993afd 100644 --- a/src/BoundsInference.cpp +++ b/src/BoundsInference.cpp @@ -328,7 +328,7 @@ class BoundsInference : public IRMutator { } } - for (const auto &s : def.specializations()) { + for (const auto &s : reverse_view(def.specializations())) { const Expr s_cond = s.condition; const Definition &s_def = s.definition;