SuccessChanges

Summary

  1. [Examples] Add IRTransformations directory to examples. (details)
Commit 7d0b1d77b3d4d47df477519fd1bf099b3df6f899 by flo
[Examples] Add IRTransformations directory to examples.
This patch adds a new IRTransformations directory to llvm/examples/.
This is intended to serve as a new home for example
transformations/analysis code used by various tutorials.
If LLVM_BUILD_EXAMPLES is enabled, the ExamplesIRTransforms library is
linked into the opt binary and the example passes become available.
To start off with, it contains the CFG simplifications used in the IR
part of the 'Getting Started With LLVM: Basics' tutorial at the US LLVM
Developers Meeting 2019.
Reviewers: paquette, jfb, meikeb, lhames, kbarton
Reviewed By: paquette
Differential Revision: https://reviews.llvm.org/D69416
The file was addedllvm/examples/IRTransforms/InitializePasses.h
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg5-del-phis-for-dead-block.ll
The file was modifiedllvm/examples/CMakeLists.txt
The file was modifiedllvm/tools/opt/opt.cpp
The file was addedllvm/examples/IRTransforms/SimplifyCFG.cpp
The file was addedllvm/examples/IRTransforms/SimplifyCFG.h
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg3-phis.ll
The file was modifiedllvm/CMakeLists.txt
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg-blockaddress.ll
The file was addedllvm/examples/IRTransforms/InitializePasses.cpp
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg2-dead-block-order.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg4-multiple-duplicate-cfg-updates.ll
The file was addedllvm/examples/IRTransforms/CMakeLists.txt
The file was modifiedllvm/tools/opt/CMakeLists.txt
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg1.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg6-dead-self-loop.ll