[all-commits] [llvm/llvm-project] 0024ec: [NewPM][SimpleLoopUnswitch] Add option to not triv...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Jul 13 16:17:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0024ec59a0f3deb206a21567ac2ebe0fc097ea9d
      https://github.com/llvm/llvm-project/commit/0024ec59a0f3deb206a21567ac2ebe0fc097ea9d
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-07-13 (Tue, 13 Jul 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/test/Other/print-passes.ll
    A llvm/test/Transforms/SimpleLoopUnswitch/options.ll

  Log Message:
  -----------
  [NewPM][SimpleLoopUnswitch] Add option to not trivially unswitch

To help with debugging non-trivial unswitching issues.

Don't care about the legacy pass, nobody is using it.

If a pass's string params are empty (e.g. "simple-loop-unswitch"), don't
default to the empty constructor for the pass params. We should still
let the parser take care of it in case the parser has its own defaults.

Reviewed By: asbirlea

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




More information about the All-commits mailing list