summaryrefslogtreecommitdiff
path: root/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-13 10:52:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-13 10:52:56 +0000
commit2073b0a63cfd7ea54b5307953ce11f378365d73d (patch)
tree2e1edcb2850f00478dbf00804a7c60f291d9bc2d /lib/CodeGen/GCStrategy.cpp
parenteaefef43d7d8a4cc3b6bb2f35d370cdb04a54687 (diff)
downloadllvm-2073b0a63cfd7ea54b5307953ce11f378365d73d.tar.gz
llvm-2073b0a63cfd7ea54b5307953ce11f378365d73d.tar.bz2
llvm-2073b0a63cfd7ea54b5307953ce11f378365d73d.tar.xz
[PM] Pull the generic graph algorithms and data structures for dominator
trees into the Support library. These are all expressed in terms of the generic GraphTraits and CFG, with no reliance on any concrete IR types. Putting them in support clarifies that and makes the fact that the static analyzer in Clang uses them much more sane. When moving the Dominators.h file into the IR library I claimed that this was the right home for it but not something I planned to work on. Oops. So why am I doing this? It happens to be one step toward breaking the requirement that IR verification can only be performed from inside of a pass context, which completely blocks the implementation of verification for the new pass manager infrastructure. Fixing it will also allow removing the concept of the "preverify" step (WTF???) and allow the verifier to cleanly flag functions which fail verification in a way that precludes even computing dominance information. Currently, that results in a fatal error even when you ask the verifier to not fatally error. It's awesome like that. The yak shaving will continue... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/GCStrategy.cpp')
-rw-r--r--lib/CodeGen/GCStrategy.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/GCStrategy.cpp b/lib/CodeGen/GCStrategy.cpp
index 8bb6f1614a..ca715dfe18 100644
--- a/lib/CodeGen/GCStrategy.cpp
+++ b/lib/CodeGen/GCStrategy.cpp
@@ -21,7 +21,6 @@
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
-#include "llvm/IR/DominatorInternals.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"