[PATCH] D137103: [LegacyPM] Port example pass SimplifyCFG to new PM

Sebastian Peryt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 18:08:50 PST 2022


speryt updated this revision to Diff 476643.
speryt added a comment.

I still need to do some more debugging because with current patch following tests started to fail:

  Failed Tests (5):
  LLVM :: Examples/Kaleidoscope/Chapter4.test
  LLVM :: Examples/Kaleidoscope/Chapter5.test
  LLVM :: Examples/Kaleidoscope/Chapter6.test
  LLVM :: Examples/Kaleidoscope/Chapter7.test
  LLVM :: Feature/load_extension.ll

My guess is that changes in either `llvm/tools/opt/CMakeLists.txt` or `llvm/tools/opt/opt.cpp` but I need to confirm that.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137103/new/

https://reviews.llvm.org/D137103

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137103.476643.patch
Type: text/x-patch
Size: 18187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221119/e8441225/attachment.bin>


More information about the llvm-commits mailing list