summaryrefslogtreecommitdiffstats
path: root/llvm/test/Examples/IRTransforms
Commit message (Collapse)AuthorAgeFilesLines
* Re-apply "[Examples] Add IRTransformations directory to examples."Florian Hahn2020-01-047-0/+479
| | | | | | This reverts commit 19fd8925a4afe6efd248688cce06aceff50efe0c. Should include a fix for PR44197.
* Revert "[Examples] Add IRTransformations directory to examples."Florian Hahn2019-12-017-479/+0
| | | | | | | | | This breaks LLVMExports.cmake in some build configurations. PR44197 This reverts commits ceb72d07b004af9c428c4a3c73a98ea97d49a713 7d0b1d77b3d4d47df477519fd1bf099b3df6f899.
* [Examples] Add IRTransformations directory to examples.Florian Hahn2019-11-127-0/+479
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
OpenPOWER on IntegriCloud