[all-commits] [llvm/llvm-project] 13ac10: [LoopSimplifyCFG] Invalidate SCEV dispositions.

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Oct 7 13:36:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13ac102726d35b067d8a086804278dba8337e10b
      https://github.com/llvm/llvm-project/commit/13ac102726d35b067d8a086804278dba8337e10b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
    A llvm/test/Transforms/LoopSimplifyCFG/invalidate-scev-dispositions.ll

  Log Message:
  -----------
  [LoopSimplifyCFG] Invalidate SCEV dispositions.

Clear all dispositions if there are any dead blocks (which will get
removed later) and also clear dispositions for removed instructions.

Clearing all dispositions in case there are dead blocks happens first,
which should avoid traversing SCEV use-lists for invalidating
dispositions for individual values.

Fixes #58179.




More information about the All-commits mailing list