[all-commits] [llvm/llvm-project] d291f1: [LegacyPM] Port example pass SimplifyCFG to new PM

Sebastian Peryt via All-commits all-commits at lists.llvm.org
Tue Jan 10 15:42:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d291f1fd094538af705541045c0d9c3ceb85e71d
      https://github.com/llvm/llvm-project/commit/d291f1fd094538af705541045c0d9c3ceb85e71d
  Author: Sebastian Peryt <sebastian.peryt at intel.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/examples/IRTransforms/CMakeLists.txt
    R llvm/examples/IRTransforms/InitializePasses.cpp
    R llvm/examples/IRTransforms/InitializePasses.h
    M llvm/examples/IRTransforms/SimplifyCFG.cpp
    R llvm/examples/IRTransforms/SimplifyCFG.h
    M llvm/test/CMakeLists.txt
    M llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg-blockaddress.ll
    M llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg1.ll
    M llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg2-dead-block-order.ll
    M llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg3-phis.ll
    M llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg4-multiple-duplicate-cfg-updates.ll
    M llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg5-del-phis-for-dead-block.ll
    M llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg6-dead-self-loop.ll
    M llvm/test/lit.cfg.py
    M llvm/test/lit.site.cfg.py.in
    M llvm/tools/opt/CMakeLists.txt
    M llvm/tools/opt/opt.cpp
    M llvm/utils/gn/secondary/llvm/test/BUILD.gn

  Log Message:
  -----------
  [LegacyPM] Port example pass SimplifyCFG to new PM

This is part of effort in removing -enable-new-pm flag.
As a prat of this effort one of example passes SimplifyCFG must
be ported to new PM which will allow to remove the flag
calls from the tests that are using this pass.

Reviewed By: aeubanks

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




More information about the All-commits mailing list