From b7ddf5905b3a973979569e62659f3d163964f92e Mon Sep 17 00:00:00 2001
From: Prakalp Srivastava <prakalps@gmail.com>
Date: Wed, 28 Jan 2015 16:01:47 -0600
Subject: [PATCH] Commit the correct BuildDFG with multiple launch support

---
 llvm/include/llvm/BuildDFG/BuildDFG.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/include/llvm/BuildDFG/BuildDFG.h b/llvm/include/llvm/BuildDFG/BuildDFG.h
index 811b024d92..61ea212b1b 100644
--- a/llvm/include/llvm/BuildDFG/BuildDFG.h
+++ b/llvm/include/llvm/BuildDFG/BuildDFG.h
@@ -30,6 +30,7 @@ struct BuildDFG : public ModulePass {
 private:
   // Member variables
   DFInternalNode *Root;
+  std::vector<DFInternalNode*> Roots;
 
   HandleToDFNode HandleToDFNodeMap;   // This map associates the i8* pointer
   // with the DFNode structure that it
@@ -60,6 +61,7 @@ public:
 
   //TODO: Maybe make these fields const
   DFInternalNode *getRoot() const;
+  std::vector<DFInternalNode*> &getRoots();
   HandleToDFNode &getHandleToDFNodeMap();
   HandleToDFEdge &getHandleToDFEdgeMap();
 
-- 
GitLab