From dfa1a79b0c2f09349b6cd451198781a3ced48cb8 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 15 Nov 2010 18:41:10 +0000 Subject: Update examples and documentation to explicitly add basicaa, now that it's no longer included by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119169 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tutorial/LangImpl5.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/tutorial/LangImpl5.html') diff --git a/docs/tutorial/LangImpl5.html b/docs/tutorial/LangImpl5.html index 79bf5f82aa..cc049aca4f 100644 --- a/docs/tutorial/LangImpl5.html +++ b/docs/tutorial/LangImpl5.html @@ -1731,6 +1731,8 @@ int main() { // Set up the optimizer pipeline. Start with registering info about how the // target lays out data structures. OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData())); + // Provide basic AliasAnalysis support for GVN. + OurFPM.add(createBasicAliasAnalysisPass()); // Do simple "peephole" optimizations and bit-twiddling optzns. OurFPM.add(createInstructionCombiningPass()); // Reassociate expressions. -- cgit v1.2.3-70-g09d2