[all-commits] [llvm/llvm-project] a41cb8: [SimpleLoopUnswitch] Forget block & loop dispos du...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Nov 5 09:56:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a41cb8bf58aec8d8bdc2134267d68267886ef9f4
      https://github.com/llvm/llvm-project/commit/a41cb8bf58aec8d8bdc2134267d68267886ef9f4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-11-05 (Sat, 05 Nov 2022)

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

  Log Message:
  -----------
  [SimpleLoopUnswitch] Forget block & loop dispos during trivial unswitch.

Unswitching adjusts the CFG in ways that may invalidate cached loop
dispositions. Clear all cached block and loop dispositions during
trivial unswitching. The same is already done for non-trivial
unswitching.

Fixes #58751.




More information about the All-commits mailing list