[all-commits] [llvm/llvm-project] 42c298: [LoopUnroll] Invalidate SCEV after full unrolling ...

陈子昂 via All-commits all-commits at lists.llvm.org
Wed Jul 15 09:13:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42c2980c7c632d7a45776d3e2c51627100f6e763
      https://github.com/llvm/llvm-project/commit/42c2980c7c632d7a45776d3e2c51627100f6e763
  Author: 陈子昂 <2802328816 at qq.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUnroll.cpp
    A llvm/test/Transforms/LoopUnroll/full-unroll-scev-invalidation.ll

  Log Message:
  -----------
  [LoopUnroll] Invalidate SCEV after full unrolling (#208874)

Full unrolling may leave stale ScalarEvolution loop and disposition
caches around the loop pass boundary. A later IndVars pass can then use
stale exit count information and incorrectly fold reachable exits.

Invalidate SCEV loop and disposition caches after successful full
unrolling before preserving `ScalarEvolutionAnalysis.`

Fixes #207744.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list