diff options
author | Florian Hahn <flo@fhahn.com> | 2019-12-01 22:19:05 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-12-01 22:20:20 +0000 |
commit | 19fd8925a4afe6efd248688cce06aceff50efe0c (patch) | |
tree | d3798079194791ac46739f92fb8a1d839bc01965 /llvm/examples/IRTransforms/InitializePasses.cpp | |
parent | ae5484540f15bcbcb0de9558e66b0217ab8473ed (diff) | |
download | bcm5719-llvm-19fd8925a4afe6efd248688cce06aceff50efe0c.tar.gz bcm5719-llvm-19fd8925a4afe6efd248688cce06aceff50efe0c.zip |
Revert "[Examples] Add IRTransformations directory to examples."
This breaks LLVMExports.cmake in some build configurations.
PR44197
This reverts commits ceb72d07b004af9c428c4a3c73a98ea97d49a713
7d0b1d77b3d4d47df477519fd1bf099b3df6f899.
Diffstat (limited to 'llvm/examples/IRTransforms/InitializePasses.cpp')
-rw-r--r-- | llvm/examples/IRTransforms/InitializePasses.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/llvm/examples/IRTransforms/InitializePasses.cpp b/llvm/examples/IRTransforms/InitializePasses.cpp deleted file mode 100644 index 125180715cd..00000000000 --- a/llvm/examples/IRTransforms/InitializePasses.cpp +++ /dev/null @@ -1,21 +0,0 @@ -//===-- InitializePasses.cpp ----------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -// -// This file implements implements the initialization hook for the example -// transforms. -// -//===----------------------------------------------------------------------===// - -#include "InitializePasses.h" -#include "llvm/PassRegistry.h" - -using namespace llvm; - -void initializeExampleIRTransforms(PassRegistry &Registry) { - initializeSimplifyCFGLegacyPassPass(Registry); -} |