From 3320af75cd20f9a10f4807cd8e46839638bab507 Mon Sep 17 00:00:00 2001 From: Paul Berg Date: Sun, 5 Jan 2025 20:21:48 +0100 Subject: [PATCH] better comment --- .../Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp b/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp index fb453af068e..4af2c2d97e6 100644 --- a/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp +++ b/enzyme/Enzyme/MLIR/Implementations/SCFAutoDiffOpInterfaceImpl.cpp @@ -152,7 +152,7 @@ struct ForOpEnzymeOpsRemover } auto numIters = getConstantNumberOfIterations(forOp); - Value inductionVariable; // [0, N[ counter + Value inductionVariable; // [0,..., N - 1] counter if (matchPattern(forOp.getLowerBound(), m_Zero()) && matchPattern(forOp.getStep(), m_One())) {