[all-commits] [llvm/llvm-project] e9de32: [SimpleLoopUnswitch] Record loops from unswitching...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Thu Jul 24 01:30:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9de32fd159d30cfd6fcc861b57b7e99ec2742ab
      https://github.com/llvm/llvm-project/commit/e9de32fd159d30cfd6fcc861b57b7e99ec2742ab
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/test/Transforms/LICM/PR116813-memoryssa-outdated.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/block_scaling_decompr_8bit.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested2.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/exponential-switch-unswitch.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/guards.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/inject-invariant-conditions.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/invalidate-block-and-loop-dispositions.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-freeze.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-select.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch-loop-and-block-dispositions.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch.ll
    A llvm/test/Transforms/SimpleLoopUnswitch/pr138509.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/update-scev-3.ll

  Log Message:
  -----------
  [SimpleLoopUnswitch] Record loops from unswitching non-trivial conditions

Track newly-cloned loops coming from unswitching non-trivial invariant
conditions, so as to prevent conditions in such cloned blocks from
being unswitched again.

Fixes: https://github.com/llvm/llvm-project/issues/138509.



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