summaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-02 21:50:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-02 21:50:24 +0000
commit3d453ac1317f910b0589d87c061f056be29e36cd (patch)
tree95e08e13821efbe8953b7af089120f49698dbecd /tools/opt/opt.cpp
parentfe1926e3518ca034e04cd307b15116aed6d21bc5 (diff)
downloadllvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.gz
llvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.bz2
llvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.xz
move PassManagerBuilder.h to IPO. This is a non intuitive place to put it,
but it solves a layering violation since things in Support are not supposed to use things in Transforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index aa375c5889..fed98ce78d 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -35,11 +35,11 @@
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/PluginLoader.h"
#include "llvm/Support/PrettyStackTrace.h"
-#include "llvm/Support/PassManagerBuilder.h"
#include "llvm/Support/SystemUtils.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/LinkAllPasses.h"
#include "llvm/LinkAllVMCore.h"
+#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include <memory>
#include <algorithm>
using namespace llvm;