summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Pass.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-04 12:32:42 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-04 12:32:42 +0000
commit1b69ed8f6a34a5b9fa36f5503f4ce44b02ca765e (patch)
treeeccc08e866701800d147800888d9e9006f08cb6d /llvm/lib/IR/Pass.cpp
parent8cd041ef195abc0d500c26fb08db123eacb60c1a (diff)
downloadbcm5719-llvm-1b69ed8f6a34a5b9fa36f5503f4ce44b02ca765e.tar.gz
bcm5719-llvm-1b69ed8f6a34a5b9fa36f5503f4ce44b02ca765e.zip
[Modules] Move the PassNameParser to the IR library as it deals in the
PassInfo structures of the legacy pass manager. Also give it the Legacy prefix as it is not a particularly widely used header. llvm-svn: 202839
Diffstat (limited to 'llvm/lib/IR/Pass.cpp')
-rw-r--r--llvm/lib/IR/Pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Pass.cpp b/llvm/lib/IR/Pass.cpp
index f81a1c77a8f..06a5e9e378b 100644
--- a/llvm/lib/IR/Pass.cpp
+++ b/llvm/lib/IR/Pass.cpp
@@ -16,9 +16,9 @@
#include "llvm/Pass.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRPrintingPasses.h"
+#include "llvm/IR/LegacyPassNameParser.h"
#include "llvm/PassRegistry.h"
#include "llvm/Support/Debug.h"
-#include "llvm/Support/PassNameParser.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
OpenPOWER on IntegriCloud