[all-commits] [llvm/llvm-project] 8b022f: [SimpleLoopUnswitch] Freeze trivial conditions if ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Apr 30 11:54:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b022f87b080ad7fe918d987afc75d846cd244fc
      https://github.com/llvm/llvm-project/commit/8b022f87b080ad7fe918d987afc75d846cd244fc
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-30 (Sat, 30 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/test/Transforms/SimpleLoopUnswitch/LIV-loop-condtion.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-freeze-individual-conditions.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-logical-and-or.ll
    M llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll

  Log Message:
  -----------
  [SimpleLoopUnswitch] Freeze trivial conditions if needed.

Trivial unswitching can also introduce new branches on undef/poison.
Freeze the conditions if needed.

Reviewed By: nikic

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




More information about the All-commits mailing list