remove graphprinter support for domfrontier.
authorChris Lattner <sabre@nondot.org>
Tue, 5 Apr 2011 21:43:56 +0000 (21:43 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 Apr 2011 21:43:56 +0000 (21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128938 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.html
docs/WritingAnLLVMPass.html
tools/opt/GraphPrinters.cpp

index 1bf36212817db07884cf538601ce45f5de48501b..b4373572fd050b141ad3c9a24425a508e6063b56 100644 (file)
@@ -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>
   
index edc8631d0abcdc3638b157d3621fa102da02ce55..97db123ed7dde4bd7d48d8f72ba563f7e134d411 100644 (file)
@@ -1206,17 +1206,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 &amp;AU) <b>const</b> {
-    AU.setPreservesAll();
-    AU.addRequired&lt;<a href="http://llvm.org/doxygen/classllvm_1_1PostDominatorTree.html">PostDominatorTree</a>&gt;();
-  }
-</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 &amp;AU) <b>const</b> {
index 791caf571c298fd94351778398198f7f17c87843..30361f501cda5f9221eeff6ea166172002954f04 100644 (file)
@@ -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;
     }
   };