[llvm] [indvars] Missing variables at Og: (PR #69920)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 05:33:40 PDT 2023


================
@@ -1931,6 +1932,30 @@ bool IndVarSimplify::run(Loop *L) {
     }
   }
 
+  // The loop exit values have been updated; insert the debug location
+  // for the induction variable with its final value.
----------------
nikic wrote:

Why is this code not inside rewriteLoopExitValues, which does the actual transform?

https://github.com/llvm/llvm-project/pull/69920


More information about the llvm-commits mailing list