aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPassBuilder.cpp
diff options
context:
space:
mode:
authorYuanfang Chen <yuanfang.chen@sony.com>2020-09-11 18:51:54 -0700
committerYuanfang Chen <yuanfang.chen@sony.com>2020-09-11 18:52:32 -0700
commitad99e34c59b80fd094a6acdbcde4869ff37dac87 (patch)
tree76e10e1a119801635fa09acf943d6c70d50d924f /llvm/lib/CodeGen/CodeGenPassBuilder.cpp
parent12a281d368e3ae115b2340c45f93b62e20759811 (diff)
downloadllvm-ad99e34c59b80fd094a6acdbcde4869ff37dac87.zip
llvm-ad99e34c59b80fd094a6acdbcde4869ff37dac87.tar.gz
llvm-ad99e34c59b80fd094a6acdbcde4869ff37dac87.tar.bz2
Revert "[NewPM][CodeGen] Introduce CodeGenPassBuilder to help build codegen pipeline"
This reverts commit 31ecf8d29d81d196374a562c6d2bd2c25a62861e. This reverts commit 3fdaa8602a086a3fca5f0fc8527536ac659079d0. There is laying violation for Target->CodeGen.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPassBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPassBuilder.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPassBuilder.cpp b/llvm/lib/CodeGen/CodeGenPassBuilder.cpp
deleted file mode 100644
index 7f37f20..0000000
--- a/llvm/lib/CodeGen/CodeGenPassBuilder.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-//===--- CodeGenPassBuilder.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 defines interfaces to access the target independent code
-// generation passes provided by the LLVM backend.
-//
-//===---------------------------------------------------------------------===//
-
-#include "llvm/CodeGen/CodeGenPassBuilder.h"
-
-using namespace llvm;
-
-namespace llvm {
-#define DUMMY_MACHINE_MODULE_PASS(NAME, PASS_NAME, CONSTRUCTOR) \
- AnalysisKey PASS_NAME::Key;
-#include "llvm/CodeGen/MachinePassRegistry.def"
-#define DUMMY_MACHINE_FUNCTION_PASS(NAME, PASS_NAME, CONSTRUCTOR) \
- AnalysisKey PASS_NAME::Key;
-#include "llvm/CodeGen/MachinePassRegistry.def"
-} // namespace llvm