[llvm] r372240 - [DDG] Break a cyclic dependency from Analysis to ScalarOpts
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 11:04:46 PDT 2019
Author: d0k
Date: Wed Sep 18 11:04:45 2019
New Revision: 372240
URL: http://llvm.org/viewvc/llvm-project?rev=372240&view=rev
Log:
[DDG] Break a cyclic dependency from Analysis to ScalarOpts
Modified:
llvm/trunk/include/llvm/Analysis/DDG.h
Modified: llvm/trunk/include/llvm/Analysis/DDG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DDG.h?rev=372240&r1=372239&r2=372240&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DDG.h (original)
+++ llvm/trunk/include/llvm/Analysis/DDG.h Wed Sep 18 11:04:45 2019
@@ -16,9 +16,8 @@
#include "llvm/ADT/DirectedGraph.h"
#include "llvm/Analysis/DependenceAnalysis.h"
#include "llvm/Analysis/DependenceGraphBuilder.h"
-#include "llvm/Analysis/LoopPass.h"
+#include "llvm/Analysis/LoopAnalysisManager.h"
#include "llvm/IR/Instructions.h"
-#include "llvm/Transforms/Scalar/LoopPassManager.h"
#include <unordered_map>
namespace llvm {
@@ -27,6 +26,7 @@ class DDGEdge;
using DDGNodeBase = DGNode<DDGNode, DDGEdge>;
using DDGEdgeBase = DGEdge<DDGNode, DDGEdge>;
using DDGBase = DirectedGraph<DDGNode, DDGEdge>;
+class LPMUpdater;
/// Data Dependence Graph Node
/// The graph can represent the following types of nodes:
More information about the llvm-commits
mailing list