[all-commits] [llvm/llvm-project] 6bfcac: [SimpleLoopUnswitch][NFC] Separate legality checks...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Tue Oct 11 23:39:29 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bfcac612fa6d2093fc4bcde8257700f2594c0f1
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

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

  Log Message:
  [SimpleLoopUnswitch][NFC] Separate legality checks from cost computation

These are semantically two different stages, but were entwined in the
old implementation. Now cost computation does not do legality checks,
and they all are done beforehead.

More information about the All-commits mailing list