[llvm] [indvars] Update SCEV after eliminating CmpInst of loop latch (PR #207044)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 01:11:32 PDT 2026
================
@@ -1,5 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -passes=indvars -S < %s | FileCheck %s
+; RUN: opt -passes="loop(indvars),loop-fusion" -disable-output -S < %s
----------------
nikic wrote:
This should be a separate test. I'd also prefer to replace `loop-fusion` with `print<scalar-evolution>`, so we directly see the updated results.
https://github.com/llvm/llvm-project/pull/207044
More information about the llvm-commits
mailing list