[all-commits] [llvm/llvm-project] 469f0f: [SimpleLoopUnswitch] Clear dispos in deleteDeadBlo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Oct 5 02:28:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 469f0fc6a652cf2c8b6e68c21af895757b3cad5d
      https://github.com/llvm/llvm-project/commit/469f0fc6a652cf2c8b6e68c21af895757b3cad5d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/test/Transforms/SimpleLoopUnswitch/invalidate-block-and-loop-dispositions.ll

  Log Message:
  -----------
  [SimpleLoopUnswitch] Clear dispos in deleteDeadBlocksFromLoop.

SimpleLoopUnswitch may remove blocks from loops. Clear block and loop
dispositions in that case, to clean up invalid entries in the cache.

Fixes #58158.

Fixes #58159.




More information about the All-commits mailing list