[all-commits] [llvm/llvm-project] fbad5f: [NFC] Perform all legality checks for non-trivial ...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Wed Oct 12 04:35:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbad5fdc03d90988999b54eb630a9d509098d58d
      https://github.com/llvm/llvm-project/commit/fbad5fdc03d90988999b54eb630a9d509098d58d
  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:
  -----------
  [NFC] Perform all legality checks for non-trivial unswitch in one function

They have been scattered over the code. For better structuring, perform
them in one place. Potential CT drop is possible because we collect exit
blocks twice, but it's small price to pay for much better code structure.




More information about the All-commits mailing list