[llvm-commits] [llvm] r128938 - in /llvm/trunk: docs/ReleaseNotes.html docs/WritingAnLLVMPass.html tools/opt/GraphPrinters.cpp
Chris Lattner
sabre at nondot.org
Tue Apr 5 14:43:56 PDT 2011
Author: lattner
Date: Tue Apr 5 16:43:56 2011
New Revision: 128938
URL: http://llvm.org/viewvc/llvm-project?rev=128938&view=rev
Log:
remove graphprinter support for domfrontier.
Modified:
llvm/trunk/docs/ReleaseNotes.html
llvm/trunk/docs/WritingAnLLVMPass.html
llvm/trunk/tools/opt/GraphPrinters.cpp
Modified: llvm/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ReleaseNotes.html?rev=128938&r1=128937&r2=128938&view=diff
==============================================================================
--- llvm/trunk/docs/ReleaseNotes.html (original)
+++ llvm/trunk/docs/ReleaseNotes.html Tue Apr 5 16:43:56 2011
@@ -427,6 +427,7 @@
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 @@
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>
Modified: llvm/trunk/docs/WritingAnLLVMPass.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMPass.html?rev=128938&r1=128937&r2=128938&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMPass.html (original)
+++ llvm/trunk/docs/WritingAnLLVMPass.html Tue Apr 5 16:43:56 2011
@@ -1207,17 +1207,6 @@
<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();
Modified: llvm/trunk/tools/opt/GraphPrinters.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/GraphPrinters.cpp?rev=128938&r1=128937&r2=128938&view=diff
==============================================================================
--- llvm/trunk/tools/opt/GraphPrinters.cpp (original)
+++ llvm/trunk/tools/opt/GraphPrinters.cpp Tue Apr 5 16:43:56 2011
@@ -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 @@
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;
}
};
More information about the llvm-commits
mailing list