[all-commits] [llvm/llvm-project] 2b23a5: [LoopDeletion] Forget block and loop dispositions ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Sep 28 03:34:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b23a58924402857c4d868463f536f5b932d5629
      https://github.com/llvm/llvm-project/commit/2b23a58924402857c4d868463f536f5b932d5629
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-09-28 (Wed, 28 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp

  Log Message:
  -----------
  [LoopDeletion] Forget block and loop dispositions after deleting loop.

After deleting a loop, the block and loop dispositions need to be
cleared. As we don't know which SCEVs in the loop/blocks may be
impacted, completely clear the cache. This should also fix some cases
where deleted loops remained in the LoopDispositions cache.

This fixes a verification failure surfaced by D134531.

Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D134613




More information about the All-commits mailing list