diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-05 21:43:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-05 21:43:56 +0000 |
commit | 51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3 (patch) | |
tree | 1eda00ecefaafc8a65d81ef38b003b068cb41528 | |
parent | c5ddb740895f4f2efe58bcd6d092d07d0bdb2527 (diff) | |
download | llvm-51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3.tar.gz llvm-51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3.tar.bz2 llvm-51fbec9021e180af6e9bb6ec7d0a6ed3bd73a0f3.tar.xz |
remove graphprinter support for domfrontier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128938 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/ReleaseNotes.html | 4 | ||||
-rw-r--r-- | docs/WritingAnLLVMPass.html | 11 | ||||
-rw-r--r-- | tools/opt/GraphPrinters.cpp | 4 |
3 files changed, 5 insertions, 14 deletions
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index 1bf3621281..b4373572fd 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -427,6 +427,7 @@ Speedups to various mid-level passes: GVN is much faster on functions with deep dominator trees / lots of BBs. DomTree and DominatorFrontier are much faster to compute, and preserved by more passes (so they are computed less often) + SRoA is also much faster and doesn't use DominanceFrontier. new 'hotpatch' attribute: LangRef.html#fnattrs @@ -456,6 +457,9 @@ MVT::Flag renamed to MVT::Glue Removed the PartialSpecialization pass, it was unmaintained and buggy. +SPARC: Many improvements, including using the Y registers for multiplications + and addition of a simple delay slot filler. + </pre></li> </ul> diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index edc8631d0a..97db123ed7 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -1207,17 +1207,6 @@ the fact that it hacks on the CFG. <div class="doc_text"> <div class="doc_code"><pre> - <i>// This is an example implementation from an analysis, which does not modify - // the program at all, yet has a prerequisite.</i> - <b>void</b> <a href="http://llvm.org/doxygen/classllvm_1_1PostDominanceFrontier.html">PostDominanceFrontier</a>::getAnalysisUsage(AnalysisUsage &AU) <b>const</b> { - AU.setPreservesAll(); - AU.addRequired<<a href="http://llvm.org/doxygen/classllvm_1_1PostDominatorTree.html">PostDominatorTree</a>>(); - } -</pre></div> - -<p>and:</p> - -<div class="doc_code"><pre> <i>// This example modifies the program, but does not modify the CFG</i> <b>void</b> <a href="http://llvm.org/doxygen/structLICM.html">LICM</a>::getAnalysisUsage(AnalysisUsage &AU) <b>const</b> { AU.setPreservesCFG(); diff --git a/tools/opt/GraphPrinters.cpp b/tools/opt/GraphPrinters.cpp index 791caf571c..30361f501c 100644 --- a/tools/opt/GraphPrinters.cpp +++ b/tools/opt/GraphPrinters.cpp @@ -18,7 +18,7 @@ #include "llvm/Pass.h" #include "llvm/Value.h" #include "llvm/Analysis/CallGraph.h" -#include "llvm/Analysis/DominanceFrontier.h" +#include "llvm/Analysis/Dominators.h" #include "llvm/Support/ToolOutputFile.h" using namespace llvm; @@ -103,13 +103,11 @@ namespace { virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); AU.addRequired<DominatorTree>(); - AU.addRequired<DominanceFrontier>(); } virtual bool runOnFunction(Function &F) { getAnalysis<DominatorTree>().dump(); - getAnalysis<DominanceFrontier>().dump(); return false; } }; |