[all-commits] [llvm/llvm-project] c7ea20: [SimpleLoopUnswitch] Ignore inner loops when injec...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Tue Feb 14 04:35:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7ea20c8eed5910f2b26e29d251ea9670d08345b
      https://github.com/llvm/llvm-project/commit/c7ea20c8eed5910f2b26e29d251ea9670d08345b
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/test/Transforms/SimpleLoopUnswitch/pr60736.ll

  Log Message:
  -----------
  [SimpleLoopUnswitch] Ignore inner loops when injecting invariant conditions. PR60736

The transform and all related updates don't expect the situation when candidate
is from an inner loop. I think we *might* still do something in this case, but
the current implementation doesn't expect this and does incorrect loop info
updates in this situation.

Details: https://github.com/llvm/llvm-project/issues/60736




More information about the All-commits mailing list