diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-02 21:50:24 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-02 21:50:24 +0000 |
commit | 3d453ac1317f910b0589d87c061f056be29e36cd (patch) | |
tree | 95e08e13821efbe8953b7af089120f49698dbecd /tools/opt/opt.cpp | |
parent | fe1926e3518ca034e04cd307b15116aed6d21bc5 (diff) | |
download | external_llvm-3d453ac1317f910b0589d87c061f056be29e36cd.zip external_llvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.gz external_llvm-3d453ac1317f910b0589d87c061f056be29e36cd.tar.bz2 |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index aa375c5..fed98ce 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; |